ElementsUtils class

Constructors

ElementsUtils()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

getChildElement(BuildContext context) Element?
getChildWidget(BuildContext context) Widget?
Get child of Widget/State/Element methods
getElement(BuildContext? context, bool test(Element e)) Element?
getElementOfState(BuildContext? context, State<StatefulWidget> state) Element?
getElementOfStateType(BuildContext? context, Type type) Element?
getElementOfText(BuildContext? context, String text) Element?
getElementOfWidget(BuildContext? context, Widget widget) Element?
getElementOfWidgetType(BuildContext? context, Type type) Element?
getH(Element element) double
getMaxH(BuildContext context) double
getOffset(BuildContext? context) Offset?
getSize(BuildContext? context) Size?
Get Size & Offset methods
getStateOfType<T extends State<StatefulWidget>>(BuildContext? context) → T?
getStateOfWidget<T extends State<StatefulWidget>>(BuildContext? context, StatefulWidget widget) → T?
getW(Element element) double
getWidgetOfType<T extends Widget>(BuildContext? context) → T?
getX(Element element) double
getY(Element element) double
rebuild<T extends StatefulWidget>(BuildContext? context, void fn(T widget)) → void
rebuildState(BuildContext? context, State<StatefulWidget>? state) → void
rebuildStateOfType<T extends State<StatefulWidget>>(BuildContext? context) → void
rebuildWidget(BuildContext? context, StatefulWidget? widget) → void
rebuildWidgetOfType<T extends StatefulWidget>(BuildContext? context) → void
Rebuild methods