ColorPickerTheme class
Theme configuration for ColorPicker widget styling and layout.
Defines visual and layout properties for color picker components including spacing, orientation, and feature availability. Applied globally through ComponentTheme or per-instance.
- Inheritance
-
- Object
- ComponentThemeData
- ColorPickerTheme
Constructors
- ColorPickerTheme({double? spacing, double? controlSpacing, Axis? orientation, bool? enableEyeDropper, double? sliderSize})
-
Creates a ColorPickerTheme.
const
Properties
- controlSpacing → double?
-
Spacing between individual controls within sections.
final
- enableEyeDropper → bool?
-
Whether to enable the eye dropper feature.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- orientation → Axis?
-
Layout orientation (horizontal or vertical).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sliderSize → double?
-
The size of color sliders.
final
- spacing → double?
-
Spacing between major color picker sections.
final
Methods
-
copyWith(
{ValueGetter< double?> ? spacing, ValueGetter<double?> ? controlSpacing, ValueGetter<Axis?> ? orientation, ValueGetter<bool?> ? enableEyeDropper, ValueGetter<double?> ? sliderSize}) → ColorPickerTheme - Creates a copy of this theme with specified properties overridden.
-
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.
override