BoxLooseDecoration class

The object determine the box stroke etc.

Inheritance

Constructors

BoxLooseDecoration({TextStyle? textStyle, ObscureStyle? obscureStyle, String? errorText, TextStyle? errorTextStyle, String? hintText, TextStyle? hintTextStyle, Color? enteredColor, Color? solidColor, Radius radius = const Radius.circular(8.0), double strokeWidth = 1.0, double gapSpace = 16.0, List<double>? gapSpaces, Color strokeColor = Colors.cyan})
const

Properties

enteredColor Color?
The border changed color when user enter password.
final
errorText String?
The error text that will be displayed if any
finalinherited
errorTextStyle TextStyle?
The style of error text.
finalinherited
gapSpace double
The adjacent box gap.
final
gapSpaces List<double>?
The gaps between every two adjacent box, higher priority than gapSpace.
final
hashCode int
The hash code for this object.
no setterinherited
hintText String?
finalinherited
hintTextStyle TextStyle?
finalinherited
obscureStyle ObscureStyle?
The style of obscure text.
finalinherited
passwordEntryType PasswordEntryType
no setteroverride
radius Radius
The box border radius.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
solidColor Color?
The box inside solid color, sometimes it equals to the box background.
final
strokeColor Color
The box border color.
final
strokeWidth double
The box border width.
final
textStyle TextStyle?
The style of painting text.
finalinherited

Methods

copyWith({TextStyle? textStyle, ObscureStyle? obscureStyle, String? errorText, TextStyle? errorTextStyle, String? hintText, TextStyle? hintTextStyle}) PasswordDecoration
Creates a copy of this password decoration with the given fields replaced by the new values.
override
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