UICounterThemeData class
- Inheritance
-
- Object
- ThemeExtension<
UICounterThemeData> - UICounterThemeData
- Implemented types
Constructors
- UICounterThemeData({Color? backgroundColor, Color? foregroundColor, BorderRadius? borderRadius, BoxBorder? border, UIIconThemeData? minusIcon, UIIconThemeData? plusIcon, TextStyle? textStyle, TextStyle? zeroStyle, double? iconZoneSize, double? textZoneSize})
-
const
- UICounterThemeData.config({Color? backgroundColor = Colors.black12, Color? foregroundColor = Colors.black, BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(100)), BoxBorder? border, UIIconThemeData? minusIcon = const UIIconThemeData(iconSize: 16), UIIconThemeData? plusIcon = const UIIconThemeData(iconSize: 16), TextStyle? textStyle = const TextStyle(fontSize: 16), TextStyle? zeroStyle = const TextStyle(fontSize: 16, color: Colors.black45), double? iconZoneSize = 38, double? textZoneSize = 38})
-
const
Properties
- backgroundColor → Color?
-
final
- border → BoxBorder?
-
final
- borderRadius → BorderRadius?
-
final
- foregroundColor → Color?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconZoneSize → double?
-
final
- minusIcon → UIIconThemeData?
-
final
- plusIcon → UIIconThemeData?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
final
- textZoneSize → double?
-
final
- type → Object
-
The extension's type.
no setterinherited
- zeroStyle → TextStyle?
-
final
Methods
-
copyWith(
) → ThemeExtension< UICounterThemeData> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< UICounterThemeData> ? other, double t) → ThemeExtension<UICounterThemeData> -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
covariant UICounterThemeData? other) → UICounterThemeData -
override
-
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