CFieldStyle class

Style options for a form field.

Implementers

Constructors

CFieldStyle({Color? backgroundColor, Color? foregroundColor, LinearGradient? gradient, bool filled = false, bool bordered = false})
Creates a CFieldStyle instance.
CFieldStyle.bordered({Color? foregroundColor})
Creates a bordered field style.
factory
CFieldStyle.borderedFilled({Color? backgroundColor, Color? foregroundColor, LinearGradient? gradient})
Creates a bordered and filled field style.
factory
CFieldStyle.filled({Color? backgroundColor, Color? foregroundColor, LinearGradient? gradient})
Creates a filled field style.
factory
CFieldStyle.simple({Color? foregroundColor})
Creates a simple field style.
factory

Properties

backgroundColor Color?
Background color of the field.
final
bordered bool
Indicates if the field is bordered.
final
filled bool
Indicates if the field is filled.
final
foregroundColor Color
Foreground color of the field.
final
gradient LinearGradient?
Gradient of the field.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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