widgetx 0.1.1 copy "widgetx: ^0.1.1" to clipboard
widgetx: ^0.1.1 copied to clipboard

Superpowers for your flutter widgets. Collection of useful extensions on Flutter's Widget Kit.

WidgetX #

widgetx

Superpowers for your flutter widgets.

Collection of useful extensions on Flutter's Widget Kit.

Installation #

In your flutter project add widgetx as a dependency in pubspec.yaml:

dependencies:
  ...
  widgetx: ^0.1.1
    

Example #

import 'package:widgetx/widgetx.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(App());
}

class App extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: ['apple', 'oranges', 'grapes'].texts().column().container(),
    );
  }
}

Docs #

Widget library docs at: https://pub.dev/documentation/widgetx/latest/

Available extensions #

Alignment

center(), centerLeft(), centerRight(), topLeft(), ...

Layouts

row(), column(), stack(), container(), center(), padding(), ...

Texts

text(), textCenter(), networkImage(), circleAvatar(), ...

Lists

texts()

Todo #

  • Add Docs for each extensions and examples.
  • Add tests to widget extensions.
  • Add more relevant extensions.

Status #

This package at the moment is in pre-release and should be avoided for production apps. Feel free to raise issues around concerns, improvements.

Preview #

A small preview of initial thought around what this package wants to solve:

4
likes
40
pub points
0%
popularity

Publisher

unverified uploader

Superpowers for your flutter widgets. Collection of useful extensions on Flutter's Widget Kit.

Repository (GitHub)
View/report issues

License

BSD-2-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on widgetx