LayoutInfo class
- Annotations
-
- @JsonSerializable()
Constructors
-
LayoutInfo.new({required String key, required int type, Color? bgColor, String? bgImage, EdgeInfo? margin, EdgeInfo? padding, Alignment? alignment, CrossAxisAlignment? crossAxisAlignment, MainAxisAlignment? mainAxisAlignment, List<
LayoutInfo> ? children, int? gradientDirection, bool isGradient = false, List<Color> ? gradientList, BorderInfo? border, double? width, double height = 200, int kind = ConstantParam.kindContainer, dynamic kindInfo, int count = 3, double ratio = 1}) -
LayoutInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- alignment ↔ Alignment?
-
getter/setter pair
- bgColor ↔ Color?
-
getter/setter pair
- bgImage ↔ String?
-
getter/setter pair
- border ↔ BorderInfo?
-
getter/setter pair
-
children
↔ List<
LayoutInfo> ? -
getter/setter pair
- count ↔ int
-
getter/setter pair
- crossAxisAlignment ↔ CrossAxisAlignment?
-
getter/setter pair
- gradientDirection ↔ int?
-
getter/setter pair
-
gradientList
↔ List<
Color> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double
-
getter/setter pair
- isGradient ↔ bool
-
getter/setter pair
- key ↔ String
-
getter/setter pair
- kind ↔ int
-
getter/setter pair
- kindInfo ↔ dynamic
-
getter/setter pair
- mainAxisAlignment ↔ MainAxisAlignment?
-
getter/setter pair
- margin ↔ EdgeInfo?
-
getter/setter pair
- padding ↔ EdgeInfo?
-
getter/setter pair
- ratio ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ int
-
getter/setter pair
- width ↔ double?
-
getter/setter pair
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 thetoJson
method. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited