DeviceDescriptor class

Constructors

DeviceDescriptor({required String name, required Size size, required EdgeInsets padding, required TargetPlatform platform, EdgeInsets? paddingLandscape, double cornerRadius = 0.0, Size? notchSize, bool tablet = false, double navBarHeight = 48.0})
const
DeviceDescriptor.fromPixel({required double height, required double width, required double pixelRatio, required EdgeInsets padding, EdgeInsets? paddingLandscape, required String name, double cornerRadius = 0.0, Size? notchSize, bool tablet = false, double navBarHeight = 48, required TargetPlatform platform})
factory

Properties

cornerRadius double
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
final
notchSize Size?
final
padding EdgeInsets
final
paddingLandscape EdgeInsets?
final
platform TargetPlatform
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
size Size
final
tablet bool
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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