FLUTTER ECOSYSTEM

Flutter-Bounty-Hunters/super_banners

在 Flutter 中出現在內容上方的斜角橫幅

super_banners 專案封面
Stars
24
Forks
6
最近推送(UTC)
2024年7月21日
專案狀態
未封存
Flutter Bounty Hunters GitHub avatar
GITHUB Organization

Flutter Bounty Hunters ↗

We build open source Flutter and Dart tools.

語言DartSwift

此儲存庫發佈的套件

使用的依賴

依賴清單 4 項
  • flutter{"sdk":"flutter"}
  • flutter_test開發依賴{"sdk":"flutter"}
  • flutter_lints開發依賴^1.0.0
  • golden_toolkit開發依賴^0.13.0

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

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,
);