Style class
Constructors
-
Style.new({String? borderColor, double? cornerRadius, Map<
String, num> ? padding, int? borderWidth, int? font, int? textAlignment, String? textColor, String? placeholderColor, int? width, int? height, Map<String, num> ? margin, String? backgroundColor, int? minWidth, int? maxWidth, int? minHeight, int? maxHeight}) -
Style.fromMap(Map<
String, dynamic> map) -
factory
Properties
- backgroundColor → String?
-
final
- borderColor → String?
-
final
- borderWidth → int?
-
final
- cornerRadius → double?
-
final
- font → int?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int?
-
final
-
margin
→ Map<
String, num> ? -
final
- maxHeight → int?
-
final
- maxWidth → int?
-
final
- minHeight → int?
-
final
- minWidth → int?
-
final
-
padding
→ Map<
String, num> ? -
final
- placeholderColor → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textAlignment → int?
-
final
- textColor → String?
-
final
- width → int?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited