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(
bannerPosition: CornerBannerPosition.topLeft,
bannerColor: Colors.blue,
child: Text("Hello, World!"),
);
You can also announce to the world that your product was built with Flutter by using
the BuiltWithFlutterCornerBanner
widget.
BuiltWithFlutterCornerBanner(
bannerPosition: CornerBannerPosition.topLeft,
bannerColor: const Color(0xFF222222),
shadowColor: Colors.black.withOpacity(0.8),
elevation: 5,
);