UISegmentedButtonThemeData class
- Inheritance
-
- Implemented types
-
Constructors
-
UISegmentedButtonThemeData({double? height, double? spacing, EdgeInsets? padding, BorderRadius? borderRadius, Color? backgroundColor, Color? segmentBackgroundColor, Color? selectedForegroundColor, Color? unselectedForegroundColor, TextStyle? textStyle})
-
const
-
UISegmentedButtonThemeData.config({double? height = 48, double? spacing = 8, EdgeInsets? padding = const EdgeInsets.all(4), BorderRadius? borderRadius = const BorderRadius.all(Radius.circular(20)), Color? backgroundColor = Colors.black12, Color? segmentBackgroundColor = Colors.black, Color? selectedForegroundColor = Colors.white, Color? unselectedForegroundColor = Colors.black54, TextStyle? textStyle = const TextStyle(fontSize: 16)})
-
const
Methods
-
copyWith({double? height, double? spacing, EdgeInsets? padding, EdgeInsets? itemPadding, BorderRadius? borderRadius, Color? backgroundColor, Color? segmentBackgroundColor, Color? selectedColor, Color? unselectedForegroundColor, Color? disabledColor, TextStyle? textStyle})
→ UISegmentedButtonThemeData
-
Creates a copy of this theme extension with the given fields
replaced by the non-null parameter values.
override
-
lerp(covariant UISegmentedButtonThemeData? other, double t)
→ UISegmentedButtonThemeData
-
Linearly interpolate with another ThemeExtension object.
override
-
merge(covariant UISegmentedButtonThemeData? other)
→ UISegmentedButtonThemeData
-
override
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited