discontinuedPackage simple_text_field has been discontinued.

SimpleInputBorder class

Defines the appearance of an InputDecorator's border.

Constructors

SimpleInputBorder({SimpleInputBorderStyle style = SimpleInputBorderStyle.underline, Color? color, Color? errorColor, Color? focusedColor, Color? focusedErrorColor, Color? disabledColor, double width = 1.0, double focusedWidth = 2.0, BorderRadius radius = BorderRadius.zero, BorderRadius? focusedRadius})
const

Properties

color → Color?
The color of the border.
final
disabledColor → Color?
The disabled color of the border.
final
errorColor → Color?
The error color of the border.
final
focusedColor → Color?
The color of the focused border.
final
focusedErrorColor → Color?
The error color of the focused border.
final
focusedRadius → BorderRadius?
The radius of the focused border.
If this value is null, radius will be followed.
final
focusedWidth → double
The width of the focused border.
Default value is 2.0.
final
hashCode → int
The hash code for this object.
no setterinherited
radius → BorderRadius
The radius of the border.
Default value is BorderRadius.zero.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
style → SimpleInputBorderStyle
The border style of SimpleTextField.
final
width → double
The width of the border.
Default value is 1.0.
final

Methods

copyWith({SimpleInputBorderStyle? style, Color? color, Color? errorColor, Color? focusedColor, Color? focusedErrorColor, Color? disabledColor, double? width, double? focusedWidth, BorderRadius? radius, BorderRadius? focusedRadius}) → SimpleInputBorder
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