ColorInputTheme class

Theme configuration for ColorInput widget styling and behavior.

Defines the visual properties and default behaviors for color input components including popover presentation, picker modes, and interaction features. Applied globally through ComponentTheme or per-instance for customization.

Supports comprehensive customization of color picker appearance, positioning, and functionality to match application design requirements.

Inheritance

Constructors

ColorInputTheme({bool? showAlpha, AlignmentGeometry? popoverAlignment, AlignmentGeometry? popoverAnchorAlignment, EdgeInsetsGeometry? popoverPadding, PromptMode? mode, ColorPickerMode? pickerMode, bool? enableEyeDropper, bool? showLabel, Axis? orientation, bool? showHistory})
Creates a ColorInputTheme.
const

Properties

enableEyeDropper bool?
Whether to enable screen color sampling functionality.
final
hashCode int
The hash code for this object.
no setteroverride
mode PromptMode?
Default interaction mode for color input triggers.
final
orientation Axis?
The orientation of the color input layout.
final
pickerMode ColorPickerMode?
Default color picker interface type.
final
popoverAlignment AlignmentGeometry?
Alignment point on the popover for anchor attachment.
final
popoverAnchorAlignment AlignmentGeometry?
Alignment point on the anchor widget for popover positioning.
final
popoverPadding EdgeInsetsGeometry?
Internal padding applied to the color picker popover content.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showAlpha bool?
Whether to display alpha (transparency) controls by default.
final
showHistory bool?
Whether to show the color history panel.
final
showLabel bool?
Whether to display color value labels in picker interfaces.
final

Methods

copyWith({ValueGetter<bool?>? showAlpha, ValueGetter<AlignmentGeometry?>? popoverAlignment, ValueGetter<AlignmentGeometry?>? popoverAnchorAlignment, ValueGetter<EdgeInsetsGeometry?>? popoverPadding, ValueGetter<PromptMode?>? mode, ValueGetter<ColorPickerMode?>? pickerMode, ValueGetter<bool?>? enableEyeDropper, ValueGetter<bool?>? showLabel, ValueGetter<Axis?>? orientation, ValueGetter<bool?>? showHistory}) ColorInputTheme
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