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

Great flutter badge view for shoung counts of notifications from the database and other counts, including notifications that notify users of anything required attention to.

SBadgeView #

Builds and tests pub package pub points Latest release Stable Version Stability repo size

A helpful dart package to show notifications count or anything important to know!

Usage #

To use this dependeny, add sbadgeview as a dependency in your pubspec.yaml file.

dependencies:
  sbadgeview: ^1.0.0

Example #

Import the library.

import 'package:sbadgeview/sbadge_view.dart';

Use it anywhere you want to create a SBadgeView:

Preview #

tele preview

How to use

    SBadgeView(
      content: IconButton( // any widget
        child: Icon(Icons.shop), 
        onPressed: () {},
      ),
      badgeCount: 8,

      // optional attributes:
      badgeColor: Colors.black,
      badgeColorOpacity: 0.5,
      badgePadding = const EdgeInsets.symmetric(horizontal: 4, vertical: 2),
      badgeBorderRadius: 18,
    );
2
likes
150
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

Great flutter badge view for shoung counts of notifications from the database and other counts, including notifications that notify users of anything required attention to.

Repository (GitHub)

Topics

#badge #badgeview #actions #allplatforms #counter

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on sbadgeview