FontSizeDevice class

The device

Constructors

FontSizeDevice({required double desktopM, required double desktopS, required double tablet, required double mobileM, required double mobileS})

Properties

desktopM double
The font size for the desktop M version
final
desktopS double
The font size for the desktop S version
final
hashCode int
The hash code for this object.
no setterinherited
mobileM double
The font size for the mobile M version
final
mobileS double
The font size for the mobile S version
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tablet double
The font size for the tablet version
final

Methods

getFontSize() double
It retrieves the correct font size in base of the device type
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