flatify 1.0.0

Flutter Android iOS web

A set of extensions for flutter widgets, makes code more readable and easier to write.

Flutter Flatify #

A set of extensions for flutter widgets, makes code more readable and easier to write. Flatify is heavily inspired by superchared and swift UI modifiers

📝 Examples #

  • Creating a styled text widget

    import 'package:flatify/flatify.dart';
    import 'package:flutter/material.dart';
    
    Widget styledText = Text(
      'Hello Flatify',
      style: TextStyle()
          .withFontSize(20)
          .withFontColor(Colors.red)
          .withFontWeight(FontWidget.w600)
          .withItalics()
          .withFontFamily('Montserrat'),
    );
    
  • Adding padding to a widget

    import 'package:flatify/flatify.dart';
    import 'package:flutter/material.dart';
    
    Widget paddedContainer = Container().withPadding(const EdgeInsets.all(8));
    
  • Adding a corner radius to the widget

    import 'package:flatify/flatify.dart';
    import 'package:flutter/material.dart';
    
    Widget roundedContainer = Container().withCornerRadius(BorderRadius.circular(8));
    

And many more...

1
likes
110
pub points
8%
popularity

Publisher

akshit.tech

A set of extensions for flutter widgets, makes code more readable and easier to write.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flatify