a_material 0.0.1 copy "a_material: ^0.0.1" to clipboard
a_material: ^0.0.1 copied to clipboard

Designed to appear before `cupertino.dart` in auto-import suggestions, enhancing developer productivity.

a_material #

A lightweight utility package for Flutter that simplifies the import and reuse of material.dart widgets.
Designed to appear before cupertino.dart in auto-import suggestions, enhancing developer productivity.


โœจ Features #

  • Streamlines the import of material.dart widgets
  • Wraps common Material widgets to improve reusability
  • Prioritized in auto-import suggestions over cupertino.dart

๐Ÿš€ Installation #

Add the following to your pubspec.yaml:

dependencies:
  a_material: ^0.1.0

Then, run:

flutter pub get

๐Ÿงช Usage #

import 'package:a_material/a_material.dart';

class MyHomePage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: Text('a_material Example')),
      body: Center(
        child: ElevatedButton(
          onPressed: () {},
          child: Text('Click'),
        ),
      ),
    );
  }
}

๐Ÿ“„ License #

MIT License

1
likes
160
points
39
downloads

Publisher

unverified uploader

Weekly Downloads

Designed to appear before `cupertino.dart` in auto-import suggestions, enhancing developer productivity.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_web_plugins

More

Packages that depend on a_material