CaptionParams class
Caption
Constructors
- CaptionParams()
- Constructor
-
CaptionParams.fromJson(Map<
String, dynamic> json) - Creates a CaptionParams instance from a JSON representation.
Properties
- alignment ↔ TextAlignment?
-
Text alignment.
getter/setter pair
- color ↔ String?
-
Text color. Default value: black Use named colors like: red, green, blue Or HTML colors like: #FF0000, #00FF00, #0000FF
getter/setter pair
- font ↔ FontParams?
-
Font.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- noWrap ↔ bool?
-
Specify word wraps (line breaks) within text. Default value: false.
getter/setter pair
- padding ↔ Padding?
-
Padding.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text ↔ String?
-
Caption text.
getter/setter pair
- visible ↔ bool?
-
Is caption visible.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Returns a JSON representation of CaptionParams.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
listFromJson(
List json) → List< CaptionParams> - Converts a list of JSON objects to a list of CaptionParams instances.