UISegmentTabBarThemeData class
- Inheritance
-
- Implemented types
-
Constructors
-
UISegmentTabBarThemeData({Color? backgroundColor, Color? indicatorColor, Color? selectedColor, Color? unSelectedColor, Color? shadowColor, TextStyle? selectedTextStyle, TextStyle? unSelectedTextStyle, EdgeInsets? tabMargin, EdgeInsets? contentMargin, EdgeInsets? contentPadding, EdgeInsets? tabsPadding, BorderRadius? borderRadius, double? height})
-
const
-
UISegmentTabBarThemeData.config({Color? backgroundColor = Colors.black12, Color? indicatorColor = Colors.black, Color? selectedColor = Colors.white, Color? unSelectedColor = Colors.black45, Color? shadowColor = Colors.black26, TextStyle? selectedTextStyle = const TextStyle(fontSize: 16), TextStyle? unSelectedTextStyle = const TextStyle(fontSize: 16), EdgeInsets? tabMargin = const EdgeInsets.only(right: 16, left: 16, top: 20), EdgeInsets? contentMargin = const EdgeInsets.only(top: 60), EdgeInsets? contentPadding = const EdgeInsets.symmetric(horizontal: 16), EdgeInsets? tabsPadding = const EdgeInsets.all(4), BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(100)), double? height = 40})
-
const
Methods
-
copyWith({Color? backgroundColor, Color? indicatorColor, Color? selectedColor, Color? unSelectedColor, Color? shadowColor, TextStyle? selectedTextStyle, TextStyle? unSelectedTextStyle, EdgeInsets? tabMargin, EdgeInsets? contentMargin, EdgeInsets? contentPadding, EdgeInsets? tabsPadding, BorderRadius? borderRadius, double? height})
→ UISegmentTabBarThemeData
-
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(covariant UISegmentTabBarThemeData? other, double t)
→ UISegmentTabBarThemeData
-
Linearly interpolate with another ThemeExtension object.
override
-
merge(covariant UISegmentTabBarThemeData? other)
→ UISegmentTabBarThemeData
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited