flutter_lean_extensions 1.0.0 copy "flutter_lean_extensions: ^1.0.0" to clipboard
flutter_lean_extensions: ^1.0.0 copied to clipboard

A collection of extensions and widgets that make life easier with minimal dependencies

flutter_lean_extensions #

A collection of extension methods and opinionated widgets to make Flutter development leaner and more expressive.

Features #

  • Widget Extensions: Easily wrap widgets with common constraints and decorators.
  • BuildContext Extensions: Shorten common calls to Theme, MediaQuery, and Navigation.
  • Opinionated Widgets: Pre-configured widgets for common UI patterns to reduce boilerplate.

Getting started #

Add the package to your pubspec.yaml:

dependencies:
  flutter_lean_extensions: ^0.0.1

Import the package in your Dart code:

import 'package:flutter_lean_extensions/flutter_lean_extensions.dart';

Usage #

Use extension methods directly on your widgets:

Widget build(BuildContext context) {
  return const Text('Hello World')
      .withMaxSize(height: 50, width: 200);
}

Additional information #

This package is under active development. Contributions, issues, and feature requests are welcome on the GitHub repository.

0
likes
160
points
168
downloads

Documentation

API reference

Publisher

verified publisherel-darto.net

Weekly Downloads

A collection of extensions and widgets that make life easier with minimal dependencies

Repository

License

MIT (license)

Dependencies

flutter

More

Packages that depend on flutter_lean_extensions