ControlButtonBarThemeData class
A style that overrides the default appearance of ControlButtonBar
and
ControlButtonBar
widgets when used with ControlButtonBarTheme or with the overall
- Mixed in types
Constructors
- ControlButtonBarThemeData(BuildContext context, {double? height, double? buttonSpacing, BoxDecoration? decoration, ControlButtonThemeData? controlButtonTheme, Color? backgroundColor, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding})
-
factory
- ControlButtonBarThemeData.dark(BuildContext context)
-
factory
- ControlButtonBarThemeData.light(BuildContext context)
-
factory
- ControlButtonBarThemeData.raw({required ControlButtonThemeData controlButtonTheme, double? buttonSpacing = 0, double height = 50, EdgeInsetsGeometry? margin = const EdgeInsets.symmetric(horizontal: 10, vertical: 10), EdgeInsetsGeometry? padding = const EdgeInsets.symmetric(horizontal: 10), Color? backgroundColor, BoxDecoration? controlContainerDecoration = const BoxDecoration(borderRadius: BorderRadius.all(Radius.circular(25)), boxShadow: <BoxShadow>[BoxShadow(offset: Offset(0, 5), blurRadius: 15, color: Color(0x12000000))])})
-
Builds a ControlButtonBarThemeData.
const
Properties
- backgroundColor → Color?
-
Background of the control button bar
final
-
The spacing between the control buttons.
final
- controlButtonTheme → ControlButtonThemeData
-
Theme for control button
final
- controlContainerDecoration → BoxDecoration?
-
The box decoration of the control button bar container.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
Height of the control button bar
final
- margin → EdgeInsetsGeometry?
-
Margin of control button bar
final
- padding → EdgeInsetsGeometry?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{double? buttonSpacing, double? height, EdgeInsetsGeometry? margin, EdgeInsetsGeometry? padding, Color? backgroundColor, BoxDecoration? controlContainerDecoration, ControlButtonThemeData? controlButtonTheme}) → ControlButtonBarThemeData -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by DiagnosticsNode.toStringDeep.
inherited
-
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object.
inherited
-
toStringShort(
) → String -
A brief description of this object, usually just the runtimeType and the
hashCode.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override