ElementFinder class
This class helps you find element within your app
use searchChildElement with a String containing key value
result is available in result
and returns an Element
Constructors
- ElementFinder({BuildContext? buildContext, })
Properties
- buildContext → BuildContext?
-
final
- context → BuildContext
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- screenSize → Size
-
no setter
Methods
-
getLargestAvailableSpace(
ElementModel elementModel) → Rect - This functions search for the maximum rect available space We use it for example to find the most available space to write a text in our anchored helper
-
getSpaceFromAlignment(
HelperAlignment align, ElementModel elementModel) → Rect -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scan(
{Key? omitChildsOf, bool debugMode = false}) → Map< String, ElementModel> -
scanPages(
) → List< PageElement> -
searchChildElement(
String? key) → ElementModel? -
searchChildElementByKey(
Key key, {required bool isInModal}) → ElementModel? -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited