utils/utils library
Exports for the utils layer.
Classes
- AnimationUtils
- Animation helpers built on top of Flutter's animation primitives.
- AppDateUtils
-
Date/time helpers built on top of
intl. - AppHelpers
- Generic application helpers and utilities.
- ColorUtils
- Color manipulation and accessibility helpers.
- DeviceUtils
- Device and platform helpers that work on every target (including web).
- FileUtils
- Pure-Dart file/path helpers that work on every Flutter platform.
- NashFormatter
- Number and text formatting helpers.
- NashImageUtils
- Image helpers: initials, URL detection and aspect-ratio math.
- NashRtlHelper
- Utility class for RTL-aware layouts and text direction detection.
- NashTokenExporter
- Token documentation generator for the design system.
- NumberUtils
- Numeric helpers: math, normalization and aggregation.
- PermissionHandler
- A pluggable permission handler.
- PermissionUtils
- Permission helpers delegating to an injected PermissionHandler.
- V
-
Common validator functions returning an error message or
null. - Validators
- A collection of stateless validation functions.
Enums
- PermissionKind
- Permission kinds the design system is aware of.
- PermissionStatus
- The outcome of a permission request.
Extensions
- NashRtlContextX on BuildContext
- Shorthand RTL helpers directly on BuildContext.
- StringValidationX on String
- Extension on String providing common validation shortcuts.