CFieldDecoration class

Decoration options for a form field.

Constructors

CFieldDecoration({double borderRadius = 15, Widget? prefixIcon, Widget? suffixIcon, String? hintText, String? labelText})
Creates a CFieldDecoration instance.
const

Properties

borderRadius double
The border radius of the field decoration.
final
hashCode int
The hash code for this object.
no setterinherited
hintText String?
The hint text of the field decoration.
final
labelText String?
The label text of the field decoration.
final
prefixIcon Widget?
The prefix icon of the field decoration.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
suffixIcon Widget?
The suffix icon of the field decoration.
final

Methods

copyWith({double? borderRadius, Widget? prefixIcon, Widget? suffixIcon, String? hintText, String? labelText}) CFieldDecoration
Creates a copy of this decoration with the given fields replaced with the new values.
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