Sizes class Null safety

A class that holds the sizes used through the app.

Constructors

Sizes()

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

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

Static Methods

getFont(double d, BuildContext context) → dynamic
getLoginStyleSize(BuildContext context) → Size
Gets the size for the login button.
getPixelSize(double d, BuildContext context) → double
It translates the given percentage of the screen d and returns the pixels.
getPixelSizeWidth(double d, BuildContext context) → double
Its the same as getPixelSize but for the width.
getScreenSize(BuildContext context) → Size
Returns the Size of the screen.
getUserInputSize(BuildContext context) → Size
Gets the size for the user input.