flutter_corner_banner 1.0.1 copy "flutter_corner_banner: ^1.0.1" to clipboard
flutter_corner_banner: ^1.0.1 copied to clipboard

A widget that build a custom child with banner at the corner contain text or icons.

flutter_corner_banner #

Pub Version (including pre-releases) GitHub Pub Likes

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

ii. Import the package in your Flutter App and use it.

import 'package:flutter_corner_banner/flutter_corner_banner.dart';

Sample #

 CornerBanner(
          bannerText: 'Banner text',
          bannerColor: Colors.blue,
          bannerPosition: BannerPosition.topRight,
          bannerSize: 70,
          child: CustomWidget()
        )

Author #

happy-flutter

License #

Flutter Banner is available under the MIT license. See the LICENSE file for more info.

3
likes
160
pub points
73%
popularity

Publisher

verified publisherhappy-flutter.com

A widget that build a custom child with banner at the corner contain text or icons.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_corner_banner