v0.0.1super_banners
使用 super_banners,在您的内容上方显示倾斜的横幅!
69喜欢 2500近 30 天下载145Pub 分数
AndroidiOSWebmacOSWindowsLinux
在 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,
);