helpers library
Additional helpers and widgets used in world_countries project.
Classes
- ClearButton
- A widget that displays a clear button for a text editing controller.
- FunctionalPlatform
- A helper class for conditionally executing code based on the current platform.
-
MaybeWidget<
T extends Object> -
A widget that does a null-check of provided value and returns orElse
(default to
SizedBox.shrink
) if value isnull
. - NameTextInput
- A helper class for creating input validation rules for names.
- UiConstants
- A utility class that contains constants related to the user interface (UI).
Extensions
- BuildContextExtension on BuildContext
-
A set of useful extensions for
BuildContext
. - DurationExtension on Duration
- An extension on the Duration class, adding asynchronous utility methods.
- WorldCountriesBuildContextExtension on BuildContext
-
A set of useful extensions for
BuildContext
related to the world_countries package.