PinDecoration class abstract
Constructors
- PinDecoration.new({TextStyle? textStyle, ObscureStyle? obscureStyle, String? errorText, TextStyle? errorTextStyle, String? hintText, TextStyle? hintTextStyle, ColorBuilder? baseBgColorBuilder})
-
const
Properties
- baseBgColorBuilder → ColorBuilder?
-
final
- errorText → String?
-
The error text that will be displayed if any error
final
- errorTextStyle → TextStyle?
-
The style of error text.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hintText → String?
-
final
- hintTextStyle → TextStyle?
-
final
- obscureStyle → ObscureStyle?
-
The style of obscure text.
final
- pinEntryType → PinEntryType
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textStyle → TextStyle?
-
The style of painting text.
final
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.
-
drawPin(
Canvas canvas, Size size, String text, int pinLength, Cursor? cursor, TextDirection textDirection) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyChange(
String pin) → void -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override