Skip to content

Flutter-Bounty-Hunters/super_banners

Repository files navigation

Super Banners - Display angled banners in a corner of your choice

Built by the Flutter Bounty Hunters


Banners are useful for product-wide messages, such as announcing that your product is in the "alpha" or "beta" stage. Display a banner in any corner with a CornerBanner widget.

CornerBanner orients itself based on the desired corner position, and the banner shrinks or expands to fit the content that you provide.

CornerBanner example

CornerBanner(
  bannerPosition: CornerBannerPosition.topLeft,
  bannerColor: Colors.blue,
  child: Text("Hello, World!"),
);

Built with Flutter

You can also announce to the world that your product was built with Flutter by using the BuiltWithFlutterCornerBanner widget.

Built with Flutter

BuiltWithFlutterCornerBanner(
  bannerPosition: CornerBannerPosition.topLeft,
  bannerColor: const Color(0xFF222222),
  shadowColor: Colors.black.withOpacity(0.8),
  elevation: 5,
);

About

Angled banners that appear on top of your content in Flutter

Resources

License

Stars

Watchers

Forks

Packages

No packages published