easy_dev_toolkit library
Classes
- AdaptiveBadge
- A badge widget that adapts its style based on the target platform.
- AdaptiveButton
- A button that adapts its style based on the target platform (Material for Android/others, Cupertino for iOS/macOS).
- AdaptiveGrid
- AdaptiveListTile
- AdaptiveTextField
- ApiClient
- ApiConfig
-
ApiResponse<
T> - A generic class representing an API response.
- AppDurations
- Standardized animation duration tokens.
- AppRadius
- Standardized border radius tokens for the design system.
- AppSpacing
- Standardized spacing tokens for consistent margins and gaps.
- AppStorage
-
A wrapper around
SharedPreferencesfor easy and consistent local storage. - Breakpoints
- CacheManager
- A simple cache manager for storing JSON data with TTL (Time To Live).
- ConnectivityService
- DateSelectorDay
- A model representing a day in the HorizontalDateSelector.
- EasyApi
- A high-level static wrapper for comprehensive networking.
- EasyAppBar
- EasyDebounce
- A simple debouncer to limit the frequency of function execution.
- EasyDialog
- A utility class for showing adaptive dialogs.
- EasyLoader
- EasyLog
- EasyTheme
- EasyThrottle
- A simple throttler to ensure a function is not called more than once within a specified duration.
- EasyToast
- EmptyState
- EncryptionUtil
- A utility class for AES-256 encryption and decryption.
- GenericApiService
- A generic base class for creating API services with built-in error handling.
- GlassCard
- A modern widget that provides a glassmorphism (frosted glass) effect.
- HorizontalDateSelector
- A horizontal date selection widget with auto-scrolling capabilities.
- OfflineBanner
- OfflineScreen
- ProfileHeader
- RadiusToken
- ResponsiveBuilder
- A widget that builds different layouts based on the screen width.
- ResponsiveContainer
- RetryInterceptor
- An interceptor that automatically retries failed requests based on custom logic.
- RetryWidget
- ReusableCard
- Shadows
- SizeConfig
- A utility class for handling responsive sizing based on screen dimensions.
- SkeletonLoader
- A widget that displays a shimmering skeleton loader for loading states.
- Space
- TimeLogCalendar
- A modern, expandable calendar widget designed for time logging or event tracking.
- TokenManager
- A simple manager for handling authentication tokens.
- Validator
Extensions
- ContextExtensions on BuildContext
- Extensions for BuildContext to simplify common UI and navigation tasks.
- DateTimeExtensions on DateTime
- Extensions for DateTime to simplify common formatting and comparison tasks.
- NullableStringExtensions on String?
- Extensions for nullable String.
- SizeNumExtensions on num
- Extensions for num to simplify responsive sizing.
-
StateExtensions
on State<
StatefulWidget> - Extensions for State to add safety features.
- StringExtensions on String
- Extensions for String to simplify common validation and formatting tasks.
- WidgetExtensions on Widget
- Extensions for Widget to simplify common padding and visibility tasks.
Functions
-
showAdaptiveDialogBox(
BuildContext context, {required String title, required String message, String okText = 'OK'}) → Future< void>