NomoInputThemeData class
- Implemented types
Constructors
- NomoInputThemeData({Color background = Colors.white, Color errorColor = Colors.redAccent, BorderRadiusGeometry borderRadius = const BorderRadius.all(Radius.circular(8)), Border border = const Border.fromBorderSide(BorderSide(color: Colors.transparent, width: 2)), Border selectedBorder = const Border.fromBorderSide(BorderSide(color: primaryColor, width: 2)), Border errorBorder = const Border.fromBorderSide(BorderSide(color: Colors.red, width: 2)), Border selectedErrorBorder = const Border.fromBorderSide(BorderSide(color: Colors.redAccent, width: 2)), EdgeInsetsGeometry margin = EdgeInsets.zero, EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 16, vertical: 12), Duration duration = const Duration(milliseconds: 200), Cubic curve = Curves.easeInOut, double titleSpacing = 2.0})
-
const
- NomoInputThemeData.from(NomoInputColorData colors, NomoInputSizingData sizing, NomoInputConstants constants)
-
factory
Properties
- background → Color
-
final
- border → Border
-
final
- borderRadius → BorderRadiusGeometry
-
final
- curve → Cubic
-
final
- duration → Duration
-
final
- errorBorder → Border
-
final
- errorColor → Color
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- margin → EdgeInsetsGeometry
-
final
- padding → EdgeInsetsGeometry
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selectedBorder → Border
-
final
- selectedErrorBorder → Border
-
final
- titleSpacing → double
-
final
Methods
-
copyWith(
[NomoInputThemeDataNullable? override]) → NomoInputThemeData -
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