Flutter
dart:ui
Size
Size const constructor
Size
Size
constructor
Null safety
const
Size
(
double
width
,
double
height
)
Creates a
Size
with the given
width
and
height
.
Implementation
const Size(super.width, super.height);
Flutter
dart:ui
Size
Size const constructor
Size class
Constructors
Size
copy
fromHeight
fromRadius
fromWidth
square
Properties
aspectRatio
flipped
hashCode
height
isEmpty
isFinite
isInfinite
longestSide
runtimeType
shortestSide
width
Methods
bottomCenter
bottomLeft
bottomRight
center
centerLeft
centerRight
contains
noSuchMethod
topCenter
topLeft
topRight
toString
Operators
operator %
operator *
operator +
operator -
operator /
operator <
operator <=
operator ==
operator >
operator >=
operator ~/
Static methods
lerp
Constants
infinite
zero