Last updated:
0 purchases
flutter corner banner
flutter_corner_banner #
A widget that build a custom child with banner at the corner contain text or icons.
Features: #
Supports any child widgets
Supports four corner banner positions
Support custom styles to achieve various animation effects
Support Text and custom widget(like icons)
Installation #
i. Add the latest version of this package to your pubspec.yaml file, and run: 'dart pub get':
dependancies:
flutter_corner_banner: ^1.0.1
copied to clipboard
ii. Import the package in your Flutter App and use it.
import 'package:flutter_corner_banner/flutter_corner_banner.dart';
copied to clipboard
Sample #
CornerBanner(
bannerText: 'Banner text',
bannerColor: Colors.blue,
bannerPosition: BannerPosition.topRight,
bannerSize: 70,
child: CustomWidget()
)
copied to clipboard
Author #
happy-flutter
License #
Flutter Banner is available under the MIT license. See the LICENSE file for more info.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.