material_io_ext

It is a collection of extensions for creating widgets following material.io guidelines.

Installing

1. Depend on it

Add this to your package's pubspec.yaml file:

dependencies:
  material_io_ext: latest

2. Install it

You can install packages from the command line:

with pub:

$ pub get 

with Flutter:

$ flutter pub get

3. Import it

Now in your Flutter code, you can use:

import 'package:material_io_ext/material_io_ext.dart';

Getting Started

Import the library.

import 'package:material_io_ext/material_io_ext.dart';

Example

import 'package:material_io_ext/material_io_ext.dart';

//headline 1 widget
Widget headline1 = 'Headline 1'.headline1(context);

//headline 6 widget
Widget headline6 = 'Headline 6'.headline6(context);

References

Please visit https://material.io/.

Libraries

material_io_ext