flutter_extend 0.0.3 copy "flutter_extend: ^0.0.3" to clipboard
flutter_extend: ^0.0.3 copied to clipboard

Simple, Efficient Flutter Extensions! Supercharge your Flutter development with a collection of easy-to-use, lightweight, and practical extension methods.

FLUTTER EXTEND

Effortless Flutter Development with Prebuilt Extension Methods

Features #

  • πŸš€ Prebuilt Extension Methods: Simplify common Flutter development tasks with prebuilt extensions for widgets, colors, strings, and more.
  • 🎨 Custom MaterialColor Generator: Easily create dynamic MaterialColor palettes from any Color.
  • πŸ›  Convenient String Manipulations: Transform and format strings effortlessly.
  • πŸ“ Widget Utilities: Add padding, margins, and styling directly to widgets.

Getting started #

  1. Add this package to your pubspec.yaml file:
dependencies:
  flutter_extend: ^0.0.1
  1. Run the following command to get the package:
  flutter pub get
  1. Import the package in your Dart file:
import 'package:flutter_extend/flutter_extend.dart';

Usage #

Below you'll find some useful tips and tricks for working with flutter_extend.

You need to call the extension methods starting with the x prefix as outlined below.

Context Extensions #

1. Get ThemeData

Use the extension method xTheme to capitalize words in a String.

context.xTheme // Output: Theme.of(context)

2. Get ColorScheme

Use the extension method xColorScheme to capitalize words in a String.

context.xColorScheme // Output: Theme.of(context).colorScheme
12
likes
0
points
46
downloads

Publisher

unverified uploader

Weekly Downloads

Simple, Efficient Flutter Extensions! Supercharge your Flutter development with a collection of easy-to-use, lightweight, and practical extension methods.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on flutter_extend