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

Simple, Efficient Flutter Extensions for any project!Code quicker and more efficiently by making use of these carefully curated Dart and Flutter extension methods for your Flutter Project.

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 for any project!Code quicker and more efficiently by making use of these carefully curated Dart and Flutter extension methods for your Flutter Project.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, intl

More

Packages that depend on flutter_extend