BackgroundFill class abstract
This object describes the way a background is filled based on the selected colors.
Constructors
- BackgroundFill()
-
Creates a new BackgroundFill object from JSON.
const
-
BackgroundFill.fromJson(Map<
String, dynamic> json) -
Creates a new BackgroundFill object.
This method decides which BackgroundFill subclass to use based on the type field.
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → BackgroundFillType
-
Type of the background fill.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts a BackgroundFill to a Map for JSON encoding.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited