Flutter Extensions
A comprehensive collection of Dart and Flutter extensions to simplify and enhance your development experience.
Features
This package provides a wide range of extensions for common Dart and Flutter classes, including:
- Alignment
- Boolean
- BuildContext
- ByteData
- Collections (List, Map, Iterable)
- DateTime
- Duration
- EdgeInsets
- FocusNode
- Future
- GlobalKey
- Numbers (int, double)
- Offset
- PageController
- Rect
- Shadow
- Size
- Stream
- String
- Text and TextStyle
- Widget
Installation
Add this to your package's pubspec.yaml
file:
dependencies: flutter_extensions: ^1.0.0
Usage
Import the package in your Dart file:
import 'package:flutter_extensions/flutter_extensions.dart';
I haven't added any usage examples yet, but the APIs are quite simple, so please refer to the API documentation.
Additional Information
If you encounter any issues or have feature requests, please file them on the GitHub repository.
Follow me on X @elisey_ozerov
Contributions are welcome! Please read our contributing guidelines before submitting pull requests.
License
This project is licensed under the MIT License - see the LICENSE file for details.