OtpPinFieldStyle class
Constructors
-
OtpPinFieldStyle.new({TextStyle textStyle = const TextStyle(fontSize: 22.0, color: Colors.black), bool showHintText = false, String hintText = '0', Color hintTextColor = Colors.black45, Color activeFieldBorderColor = Colors.black, Color defaultFieldBorderColor = Colors.black45, Color activeFieldBackgroundColor = Colors.transparent, Color defaultFieldBackgroundColor = Colors.transparent, Color filledFieldBackgroundColor = Colors.transparent, Color filledFieldBorderColor = Colors.transparent, Gradient? activeFieldBorderGradient, Gradient? filledFieldBorderGradient, Gradient? defaultFieldBorderGradient, double fieldPadding = 10.0, double fieldBorderRadius = 2.0, double fieldBorderWidth = 2.0, List<
BoxShadow> ? activeFieldBoxShadow, List<BoxShadow> ? filledFieldBoxShadow, List<BoxShadow> ? defaultFieldBoxShadow}) -
const
Properties
- activeFieldBackgroundColor → Color
-
final
- activeFieldBorderColor → Color
-
final
- activeFieldBorderGradient → Gradient?
-
final
-
activeFieldBoxShadow
→ List<
BoxShadow> ? -
final
- defaultFieldBackgroundColor → Color
-
final
- defaultFieldBorderColor → Color
-
final
- defaultFieldBorderGradient → Gradient?
-
final
-
defaultFieldBoxShadow
→ List<
BoxShadow> ? -
final
- fieldBorderRadius → double
-
final
- fieldBorderWidth → double
-
final
- fieldPadding → double
-
final
- filledFieldBackgroundColor → Color
-
final
- filledFieldBorderColor → Color
-
final
- filledFieldBorderGradient → Gradient?
-
final
-
filledFieldBoxShadow
→ List<
BoxShadow> ? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintText → String
-
final
- hintTextColor → Color
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showHintText → bool
-
final
- textStyle → TextStyle
-
final
Methods
-
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