Generic class Null safety

Generic class to check generic devices

Constructors

Generic({required int maxWith})

Properties

extraLarge GenericDevice
ExtraLarge sizes
read / write
extraSmall GenericDevice
ExtraSmall sizes
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
large GenericDevice
Large sizes
read / write
maxWith int
The max width of the current device
final
medium GenericDevice
Medium sizes
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
small GenericDevice
Small sizes
read / write

Methods

deviceType() int
Check which device type is
isExtraLarge() bool
Check if is an extra large device
isExtraSmall() bool
Check if is an extra small device
isLarge() bool
Check if is a large device
isMedium() bool
Check if is a medium device
isSmall() bool
Check if is a small device
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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