SliverGridDelegateWithFixedCrossAxisCount class Null safety
- Implemented types
Constructors
- SliverGridDelegateWithFixedCrossAxisCount({required int crossAxisCount, double mainAxisSpacing, double crossAxisSpacing, double childAspectRatio, double? mainAxisExtent})
-
constfactory
-
SliverGridDelegateWithFixedCrossAxisCount.fromJson(Map<
String, dynamic> json) -
factory
Properties
- childAspectRatio → double
-
read-only, override
-
copyWith
→ _$$SliverGridDelegateWithFixedCrossAxisCountCopyWith<
_$SliverGridDelegateWithFixedCrossAxisCount> -
@JsonKey(ignore: true), read-only, override
- crossAxisCount → int
-
read-only
- crossAxisSpacing → double
-
read-only, override
- hashCode → int
-
The hash code for this object.
read-only, inherited
- mainAxisExtent → double?
-
read-only, override
- mainAxisSpacing → double
-
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
map<
TResult extends Object?> ({required TResult count(SliverGridDelegateWithFixedCrossAxisCount value), required TResult extend(SliverGridDelegateWithMaxCrossAxisExtent value)}) → TResult -
@optionalTypeArgs, inherited
-
mapOrNull<
TResult extends Object?> ({TResult? count(SliverGridDelegateWithFixedCrossAxisCount value)?, TResult? extend(SliverGridDelegateWithMaxCrossAxisExtent value)?}) → TResult? -
@optionalTypeArgs, inherited
-
maybeMap<
TResult extends Object?> ({TResult count(SliverGridDelegateWithFixedCrossAxisCount value)?, TResult extend(SliverGridDelegateWithMaxCrossAxisExtent value)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
maybeWhen<
TResult extends Object?> ({TResult count(int crossAxisCount, double mainAxisSpacing, double crossAxisSpacing, double childAspectRatio, double? mainAxisExtent)?, TResult extend(double maxCrossAxisExtent, double mainAxisSpacing, double crossAxisSpacing, double childAspectRatio, double? mainAxisExtent)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult count(int crossAxisCount, double mainAxisSpacing, double crossAxisSpacing, double childAspectRatio, double? mainAxisExtent), required TResult extend(double maxCrossAxisExtent, double mainAxisSpacing, double crossAxisSpacing, double childAspectRatio, double? mainAxisExtent)}) → TResult -
@optionalTypeArgs, inherited
-
whenOrNull<
TResult extends Object?> ({TResult? count(int crossAxisCount, double mainAxisSpacing, double crossAxisSpacing, double childAspectRatio, double? mainAxisExtent)?, TResult? extend(double maxCrossAxisExtent, double mainAxisSpacing, double crossAxisSpacing, double childAspectRatio, double? mainAxisExtent)?}) → TResult? -
@optionalTypeArgs, inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited