PropsBuilder class abstract
All class which hold the properties of the widget needs to extends this
so that they can override the toJson and have their own implementation of
the class for Eg
class BorderProps implements PropsBuilder {
final String? borderWidth;
final String? borderLeft;
final String? borderRight;
final String? borderTop;
final String? borderBottom;
final String? borderStyle;
final String? borderColor;
final String? borderRadius;
final String? borderBottomLeftRadius;
final String? borderBottomRightRadius;
final String? borderTopLeftRadius;
final String? borderTopRightRadius;
final String? borderLeftRadius;
final String? borderRightRadius;
final String? borderTopRadius;
final String? borderBottomRadius;
Constructors
Properties
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited