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

Properties

backgroundColor → Color?
final
borderRadius → BorderRadius?
final
contentMargin → EdgeInsets?
final
contentPadding → EdgeInsets?
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
final
indicatorColor → Color?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectedColor → Color?
final
selectedTextStyle → TextStyle?
final
shadowColor → Color?
final
tabMargin → EdgeInsets?
final
tabsPadding → EdgeInsets?
final
type → Object
The extension's type.
no setterinherited
unSelectedColor → Color?
final
unSelectedTextStyle → TextStyle?
final

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited