GridViewModel class
Constructors
- GridViewModel({required String documentID, required String appId, String? name, GridViewScrollDirection? scrollDirection, GridViewGridType? type, int? crossAxisCount, MaxCrossAxisExtentType? maxCrossAxisExtentType, double? absoluteMaxCrossAxisExtent, double? relativeMaxCrossAxisExtent, double? childAspectRatio, double? padding, double? mainAxisSpacing, double? crossAxisSpacing, StorageConditionsModel? conditions})
Properties
- absoluteMaxCrossAxisExtent ↔ double?
-
getter/setter pair
- appId ↔ String
-
getter/setter pairoverride
- childAspectRatio ↔ double?
-
getter/setter pair
- conditions ↔ StorageConditionsModel?
-
getter/setter pair
- crossAxisCount ↔ int?
-
getter/setter pair
- crossAxisSpacing ↔ double?
-
getter/setter pair
- documentID ↔ String
-
getter/setter pairoverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- mainAxisSpacing ↔ double?
-
getter/setter pair
- maxCrossAxisExtentType ↔ MaxCrossAxisExtentType?
-
getter/setter pair
- name ↔ String?
-
getter/setter pair
- padding ↔ double?
-
getter/setter pair
- relativeMaxCrossAxisExtent ↔ double?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollDirection ↔ GridViewScrollDirection?
-
getter/setter pair
- type ↔ GridViewGridType?
-
getter/setter pair
Methods
-
collectReferences(
{String? appId}) → Future< List< ModelReference> > -
override
-
copyWith(
{String? documentID, String? appId, String? name, GridViewScrollDirection? scrollDirection, GridViewGridType? type, int? crossAxisCount, MaxCrossAxisExtentType? maxCrossAxisExtentType, double? absoluteMaxCrossAxisExtent, double? relativeMaxCrossAxisExtent, double? childAspectRatio, double? padding, double? mainAxisSpacing, double? crossAxisSpacing, StorageConditionsModel? conditions}) → GridViewModel -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toEntity(
{String? appId}) → GridViewEntity -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Static Methods
-
fromEntity(
String documentID, GridViewEntity? entity) → Future< GridViewModel?> -
fromEntityPlus(
String documentID, GridViewEntity? entity, {String? appId}) → Future< GridViewModel?>
Constants
- id → const String
- packageName → const String