WidgetParams class

Helper class to determine the size and position of a widget

Constructors

WidgetParams.new({required double xPosition, required double yPosition, required Rect rect})
WidgetParams.fromContext(BuildContext? context)

Properties

hashCode int
The hash code for this object.
no setterinherited
rect Rect
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xPosition double
getter/setter pair
yPosition double
getter/setter pair

Methods

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

Operators

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