AdaptivePlatformDensity class Null safety

Implemented types

Constructors

AdaptivePlatformDensity()
const
factory
AdaptivePlatformDensity.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

map<TResult extends Object?>(TResult $default(_VisualDensity value), {required TResult adaptivePlatformDensity(AdaptivePlatformDensity value)}) → TResult
@optionalTypeArgs, inherited
mapOrNull<TResult extends Object?>(TResult? $default(_VisualDensity value)?, {TResult? adaptivePlatformDensity(AdaptivePlatformDensity value)?}) → TResult?
@optionalTypeArgs, inherited
maybeMap<TResult extends Object?>(TResult $default(_VisualDensity value)?, {TResult adaptivePlatformDensity(AdaptivePlatformDensity value)?, required TResult orElse()}) → TResult
@optionalTypeArgs, inherited
maybeWhen<TResult extends Object?>(TResult $default(double horizontal, double vertical)?, {TResult adaptivePlatformDensity()?, 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?>(TResult $default(double horizontal, double vertical), {required TResult adaptivePlatformDensity()}) → TResult
@optionalTypeArgs, inherited
whenOrNull<TResult extends Object?>(TResult? $default(double horizontal, double vertical)?, {TResult? adaptivePlatformDensity()?}) → TResult?
@optionalTypeArgs, inherited

Operators

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