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

Reduce boilerplate by simply chaining methods when creating widgets, adding animations and applying themes.

Less boilerplate when creating widgets, adding animations and applying themes. #

// With modifiable
Text('Hello world.').modified()
    ..square(200) 
    ..decorationImage('https://source.unsplash.com/random')
    ..paddingX(10)
    ..alignCenter();
// Without modifiable
Container(
    width: 200,
    height: 200,
    padding: EdgeInsets.symmetric(horizontal: 10)
    decoration: BoxDecoration(
        color: Colors.red,
        image: DecorationImage(
            image: NetworkImage('https://source.unsplash.com/random'),
        )
    ),
    alignment: Alignment.center,
    child: Txet('Hello world.'),
);
3
likes
0
points
23
downloads

Publisher

verified publisherdefsignal.com

Weekly Downloads

Reduce boilerplate by simply chaining methods when creating widgets, adding animations and applying themes.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_animate, touchable_opacity

More

Packages that depend on modifiable