AppHelpers class abstract

Generic application helpers and utilities.

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

clamp01(double value) → double
Wraps value in a Tween range clamp helper.
debounce(Duration delay, VoidCallback action) → Timer
Debounces action calls.
focus(BuildContext context, FocusNode node) → void
Shows the system keyboard for focusNode.
isEven(int index) → bool
Returns true when the given index is even and non-negative.
popUntilFirst(BuildContext context) → void
Pops to the root route.
pushNamed(BuildContext context, String routeName, {Object? arguments}) → void
Pushes a named route.
pushReplacementNamed(BuildContext context, String routeName, {Object? arguments}) → void
Pushes a new route and ignores duplicate pushes.
uid() → String
Generates a short unique id.
unfocus(BuildContext context) → void
Unfocuses the currently focused field.
without<T>(List<T> list, T value) → List<T>
Returns a copy of list with value removed.