Skip to content

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

License

Notifications You must be signed in to change notification settings

ssk-flutter/a_material

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published