Skip to content

Commit

Permalink
Update 215
Browse files Browse the repository at this point in the history
  • Loading branch information
bizz84 committed Dec 19, 2024
1 parent 0e64538 commit 8efc7c0
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions tips/0215-banner-widget/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@

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, consider building your own using a custom painter.
You can use the [Banner](https://api.flutter.dev/flutter/widgets/Banner-class.html) widget to place a small diagonal banner over a child widget.

![](215.png)

Expand All @@ -25,13 +23,14 @@ Banner(
// Location, color, and text style are configurable, but the banner size is fixed, and this can cause the text to wrap.
-->

---
Note that `Banner` only offers limited customization options. If you need more custom styling, you have two options:

Note: `Banner` is very closely related to `CheckedModeBanner`, which shows inside your MaterialApp in debug mode.
- Build your own using a custom painter.
- Use the [super\_banners](https://pub.dev/packages/super_banners) package.

For more info, check the official docs:
---

- [Banner class](https://api.flutter.dev/flutter/widgets/Banner-class.html)
`Banner` is very closely related to [CheckedModeBanner](https://api.flutter.dev/flutter/widgets/Banner-class.html), which shows inside your `MaterialApp` in debug mode. For more info, check the official docs: [Banner class](https://api.flutter.dev/flutter/widgets/Banner-class.html).

---

Expand Down

0 comments on commit 8efc7c0

Please sign in to comment.