BadgeTheme constructor

const BadgeTheme({
  1. Key? key,
  2. required BadgeThemeData data,
  3. required Widget child,
})

Creates a theme that overrides the default color parameters for Badges in this widget's subtree.

Implementation

const BadgeTheme({
  super.key,
  required this.data,
  required super.child,
});