BodyInfo class

Annotations
  • @JsonSerializable()

Constructors

BodyInfo.new({required String key, Color? bgColor, String? bgImage, EdgeInfo? margin, EdgeInfo? padding, bool isGradient = false, List<Color>? gradientList, int? gradientDirection, List<LayoutInfo>? children})
BodyInfo.fromJson(Map<String, dynamic> json)
factory

Properties

bgColor Color?
getter/setter pair
bgImage String?
getter/setter pair
children List<LayoutInfo>?
getter/setter pair
gradientDirection int?
getter/setter pair
gradientList List<Color>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isGradient bool
getter/setter pair
key String
getter/setter pair
margin EdgeInfo?
getter/setter pair
padding EdgeInfo?
getter/setter pair
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>
Connect the generated _$PersonToJson function to the toJson method.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited