Did you know?
You can use the Banner widget to place a small diagonal banner over a child widget.
Note that Banner only offers limited customization options. If you need more custom styling, you have two options:
- Build your own using a custom painter.
- Use the super_banners package.
Banner is very closely related to CheckedModeBanner, which shows inside your MaterialApp in debug mode. For more info, check the official docs: Banner class.
| Previous | Next |
|---|---|
| Improve your code with Cursor Edit Mode | New Spacing Argument in Row/Column (Flutter 3.27) |
