CirclePinDecoration class

Inheritance
Implemented types

Constructors

CirclePinDecoration({TextStyle textStyle, ObscureStyle obscureStyle, String errorText, TextStyle errorTextStyle, String hintText, TextStyle hintTextStyle, double gapSpace = 16, List<double> gapSpaces, @required ColorBuilder strokeColorBuilder, double strokeWidth = 1, ColorBuilder bgColorBuilder})
const

Properties

bgColorBuilder ColorBuilder
final
errorText String
The error text that will be displayed if any
final, inherited
errorTextStyle TextStyle
The style of error text.
final, inherited
gapSpace double
The adjacent box gap.
final
gapSpaces List<double>
The gaps between every two adjacent box, higher priority than gapSpace.
final
getGapWidth double
The adjacent box gap.
read-only, override
getGapWidthList List<double>
The gaps between every two adjacent box, higher priority than gapSpace.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, override
hintText String
final, inherited
hintTextStyle TextStyle
final, inherited
obscureStyle ObscureStyle
The style of obscure text.
final, inherited
pinEntryType PinEntryType
read-only, override
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
strokeColorBuilder ColorBuilder
The box border color of index character.
final
strokeWidth double
The box border width.
final
textStyle TextStyle
The style of painting text.
final, inherited

Methods

copyWith({TextStyle textStyle, ObscureStyle obscureStyle, String errorText, TextStyle errorTextStyle, String hintText, TextStyle hintTextStyle, ColorBuilder bgColorBuilder}) PinDecoration
Creates a copy of this pin decoration with the given fields replaced by the new values.
override
drawCursor(Canvas canvas, Size size, Rect rect, Cursor cursor) → void
inherited
drawPin(Canvas canvas, Size size, String text, int pinLength, Cursor cursor) → void
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
notifyChange(String pin) → void
override
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
override