BannerInfo class
- Annotations
-
- @JsonSerializable()
Constructors
-
BannerInfo.new(String key, {required List<
ImgInfo> imgList, double? height, EdgeInfo? margin, BorderInfo? borderInfo, bool? autoPlay, bool? enlargeCenterPage, Axis scrollDirection = Axis.horizontal, double viewportFraction = 0.8, bool? enableInfiniteScroll}) -
BannerInfo.fromJson(Map<
String, dynamic> json) -
factory
Properties
- autoPlay ↔ bool?
-
getter/setter pair
- borderInfo ↔ BorderInfo?
-
getter/setter pair
- enableInfiniteScroll ↔ bool?
-
getter/setter pair
- enlargeCenterPage ↔ bool?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double?
-
getter/setter pair
-
imgList
↔ List<
ImgInfo> -
getter/setter pair
- key ↔ String
-
getter/setter pair
- margin ↔ EdgeInfo?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollDirection ↔ Axis
-
getter/setter pair
- viewportFraction ↔ 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