BeuiInputStyle class

Optional style overrides for BeuiInput. Null fields resolve from the ambient BeuiColors theme extension (or sensible defaults). Mirrors the source's classNames slot map (root / label / field / input / icons / message) with typed fields rather than class strings.

Annotations

Constructors

BeuiInputStyle({Color? borderColor, Color? focusedBorderColor, Color? errorColor, Color? successColor, double? height, double? borderRadius})
Creates a set of BeuiInput overrides.
const

Properties

borderColor → Color?
Idle field border. Defaults to BeuiColors.border.
final
borderRadius → double?
Corner radius. Defaults to half the height (source rounded-full).
final
errorColor → Color?
Border + ring + message when errored. Defaults to BeuiColors.destructive.
final
focusedBorderColor → Color?
Border + ring when focused (and not errored). Defaults to BeuiColors.foreground at 40% alpha, with a BeuiColors.ring glow.
final
hashCode → int
The hash code for this object.
no setterinherited
height → double?
Field height. Defaults to 44 (source h-11).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
successColor → Color?
Success check colour. Defaults to BeuiColors.success.
final

Methods

copyWith({Color? borderColor, Color? focusedBorderColor, Color? errorColor, Color? successColor, double? height, double? borderRadius}) → BeuiInputStyle
Returns a copy with the given fields replaced.
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