flutter_ex_kit library

Classes

BottomAnimation
A widget that applies a slide-up animation to its child widget.
ExKitTheme
Defines the theme configuration and global settings.
ExKitThemeManager
Singleton class to manage global theme
FadeInAni
A widget that applies a fade-in and sliding animation to its child widget.
SingleSpaceFormatter
A custom TextInputFormatter that prevents consecutive spaces and ensures that only a single space is allowed between words.

Enums

FadeInDirection
Defines the possible directions for the fade-in animation.
FileTypeForImageEnum
Represents the supported file types for image formats.

Mixins

InputFormatValidation
A mixin that provides input format validation utilities. This includes regular expressions to restrict certain characters, such as emojis, from user input.

Extensions

AlignmentWidgetExtension on Widget
Extension methods for aligning a widget within a parent widget.
CenteredWidget on Widget
Extension on Widget to provide a convenience method for centering widgets.
ContextExtensions on BuildContext
Useful extensions on BuildContext for responsive design, theme, and navigation.
DateTimeExtensions on DateTime
Useful extensions on DateTime for date checks and human-readable formatting.
DurationExtensions on num
Extensions on num to easily construct Duration instances and delay execution.
HexColorExtension on String
An extension on the String class to convert hex color codes to Flutter's Color object.
IntExt on int
Int extensions
IterableExtensions on Iterable<T>
Extensions on Iterable to provide convenient functional utilities.
MediaQuerysValues on BuildContext
Extension on BuildContext to provide easy access to common MediaQuery properties.
NetworkImageExt on String?
An extension on String to easily load network images with proper handling.
NullableIterableExtensions on Iterable<T>?
Extensions on nullable Iterable for safe null checks.
OverScrollOffExtension on Widget
Extension on SingleChildScrollView to prevent the overscroll indicator from appearing.
Pad on num
Extension on the num type to provide convenience methods for creating SizedBox widgets.
PaddingExtension on Widget
Extension on Widget to provide convenient padding methods.
PageControllerExtensions on PageController
Extension on PageController to provide convenient methods for navigating between pages.
ScaffoldExtensions on Scaffold
Extension on the Scaffold widget to add a method for customizing the status bar and navigation bar colors.
ScrollableExtension on BuildContext
Extension on BuildContext to provide a method for scrolling a widget into view.
StringExt on String
String extensions to add useful utility methods.
StringTextExtensions on String
Extension on the String class to provide a convenient method for creating styled Text widgets.
WidgetExtensions on Widget?
Extension on Widget to provide convenient methods for handling nullable widgets.
WidgetLayoutExtensions on Widget
Convenient layout and styling extensions on Widget.

Properties

exKit → ExKitThemeManager
Update theme globally
final
exKitTheme → ExKitTheme
✅ Always use exKit.themeNotifier.value instead of a fixed copy
no setter

Functions

allImages(String image) → bool
Checks if a given string represents a valid image file format.
exitApp({DateTime? currentBackPressTime, VoidCallback? exit, VoidCallback? notExit, Duration threshold = const Duration(seconds: 2)}) → DateTime
Handles the double-tap exit logic for a Flutter application.
output(Object? response) → void
Logs the provided response to the console with custom debug markers.
paginationFunction({required dynamic fun(), required ScrollController controller}) → void
Adds pagination functionality to a scrollable widget.