flutter_ex_kit

flutter_ex_kit is a Flutter utility library that provides a collection of custom widgets, extensions, animations, and utility functions. It is designed to simplify common tasks and improve the developer experience while building Flutter applications. Whether you're looking for easy-to-use animations, advanced navigation features, or helpful logging tools, flutter_ex_kit has got you covered.

Features

  • Custom Animations: Includes fade-in and slide-up animations that can be customized for smooth transitions.
  • Logging Utility: Debug logging utility to output logs with custom debug markers.
  • Navigation Extensions: Convenient methods for navigating between pages using PageController.
  • Exit App Handling: Custom exit behavior when the back button is pressed, with customizable delays.
  • Pagination: Functions to trigger pagination on scroll events in list views.
  • Scrollable Widget Utility: Extensions to ensure widgets are visible and scroll to a specific position.
  • File Type Enum: Enum for handling different image file types like jpg, png, gif, and others.

Installation

To use flutter_ex_kit in your Flutter project, add it as a dependency in your pubspec.yaml file:

dependencies:
  flutter:
    sdk: flutter
  flutter_ex_kit: ^0.0.5
flutter pub get

Example Refactoring

Before using flutter_ex_kit

In the traditional approach, you would write the code as follows:

dart

SizedBox(
  height: 10,
),

After using flutter_ex_kit

With the flutter_ex_kit package, you can simplify this code:

dart

10.height,

Documentation

For more detailed examples, advanced features, and in-depth documentation on how to use flutter_ex_kit, please refer to the full documentation:

Read Full Documentation

🚀 About Me

I am Puneet Sharma, and I am a developer.

License

MIT