v0.0.1super_banners
super_banners を使って、コンテンツの上に傾いたバナーを表示しましょう!
Flutter でコンテンツの上に表示される角度付きバナー
{"sdk":"flutter"}{"sdk":"flutter"}^1.0.0^0.13.0以下は英語原文のスナップショットです。最新版は GitHub をご覧ください。
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!"),
);
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,
);