mixins 0.0.5 copy "mixins: ^0.0.5" to clipboard
mixins: ^0.0.5 copied to clipboard

discontinued
outdated

Mixins is a package for shortening the use of some widgets or properties.

Usage #

It's not a great package, just help us to code briefly, everyone can make their own easily. To use this plugin, add mixins as a dependency in your pubspec.yaml file.

Example #


// without Mixins

Column(
    mainAxisAlignment: MainAxisAlignment.center
    children: []
)

Container(
    margin: EdgeInsets.all(15),
    padding: EdgeInsets.symmetric(vertical: 15),
    decoration: BoxDecoration(
        border: Border(top: BorderSide(color: Colors.white)),
        borderRadius: BorderRadius.all(Radius.circular(5)),
    )
)

// with Mixins

Column(
    mainAxisAlignment: Maa.center 
    children: []
)

Container(
    margin: Ei.all(15),
    padding: Ei.sym(v: 15),
    decoration: BoxDecoration(
        border: Br.only(['t'], color: Colors.white),
        borderRadius: Br.radius(5)
    )
)

Helpers #


// use method on helper mixins with Mixins.helper_name, eg:

Mixins.hex('#fff'); // white
Mixins.orientation([DeviceOrientation.landscapeLeft]);

7
likes
0
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

Mixins is a package for shortening the use of some widgets or properties.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_native_image, http, intl, path_provider, stack_trace, update

More

Packages that depend on mixins