TBadgeStyle class
Constructors
- TBadgeStyle({TBadgeShape shape = TBadgeShape.circle, BorderRadius borderRadius = BorderRadius.zero, Color badgeColor = Colors.red, BorderSide borderSide = BorderSide.none, double elevation = 2, TBadgeGradient? badgeGradient, TBadgeGradient? borderGradient, EdgeInsetsGeometry padding = const EdgeInsets.all(5.0)})
- 
          
            const
Properties
- badgeColor → Color
- 
  Background color of the badge.
If gradientis not null, this property will be ignored.final
- badgeGradient → TBadgeGradient?
- 
  Background gradient color of the badge.
Will be used over badgeColor if not null.
  final
- borderGradient → TBadgeGradient?
- 
  Background gradient color of the border badge.
Will be used over borderSide.colorif not null.final
- borderRadius → BorderRadius
- 
  Allows to set border radius to this badgeContent. The default value is BorderRadius.zero.final
- borderSide → BorderSide
- 
  Allows to set border side to this badgeContent. The default value is BorderSide.none.final
- elevation → double
- 
  The size of the shadow below the badge.
  final
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- padding → EdgeInsetsGeometry
- 
  Specifies padding for badgeContent. The default value is EdgeInsets.all(5.0).final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- shape → TBadgeShape
- 
  Allows to set the shape to this badgeContent. The default value isBadgeShape.circle.final
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited