UIStarThemeData class
- Inheritance
-
- Object
- ThemeExtension<
UIStarThemeData> - UIStarThemeData
- Implemented types
Constructors
- UIStarThemeData({double? activeSize, double? inactiveSize, Color? activeColor, Color? inactiveColor, BorderSide? activeBorder, BorderSide? inactiveBorder, double? activePointRounding, double? inactivePointRounding, double? activeInnerRadiusRatio, double? inactiveInnerRadiusRatio})
-
const
- UIStarThemeData.config({double? activeSize = 24, double? inactiveSize = 24, Color? activeColor = Colors.amber, Color? inactiveColor = Colors.grey, BorderSide? activeBorder = BorderSide.none, BorderSide? inactiveBorder = BorderSide.none, double? activePointRounding = .35, double? inactivePointRounding = .29, double? activeInnerRadiusRatio = .48, double? inactiveInnerRadiusRatio = .42})
-
const
Properties
- activeBorder → BorderSide?
-
final
- activeColor → Color?
-
final
- activeInnerRadiusRatio → double?
-
Полнота звезды: отношение внутреннего радиуса к внешнему.
final
- activePointRounding → double?
-
Скругление кончиков лучей звезды.
final
- activeSize → double?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inactiveBorder → BorderSide?
-
final
- inactiveColor → Color?
-
final
- inactiveInnerRadiusRatio → double?
-
final
- inactivePointRounding → double?
-
final
- inactiveSize → double?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → Object
-
The extension's type.
no setterinherited
Methods
-
copyWith(
) → ThemeExtension< UIStarThemeData> -
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(
covariant ThemeExtension< UIStarThemeData> ? other, double t) → ThemeExtension<UIStarThemeData> -
Linearly interpolate with another ThemeExtension object.
override
-
merge(
covariant UIStarThemeData? other) → UIStarThemeData -
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