material_button_assist 1.0.0 copy "material_button_assist: ^1.0.0" to clipboard
material_button_assist: ^1.0.0 copied to clipboard

material_button_assist is an assistant that makes using Material Design's Common buttons easier.

example/lib/main.dart

import 'package:flutter/material.dart';

void main() {
  runApp(const MainApp());
}

class MainApp extends StatelessWidget {
  const MainApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        useMaterial3: true,
      ),
      home: Scaffold(
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.spaceEvenly,
            children: [
              ElevatedButton(
                onPressed: () {},
                child: const Text('Hello World!'),
              ),
              FilledButton(
                onPressed: () {},
                child: const Text('Hello World!'),
              ),
              FilledButton.tonal(
                onPressed: () {},
                child: const Text('Hello World!'),
              ),
              OutlinedButton(
                onPressed: () {},
                child: const Text('Hello World!'),
              ),
              TextButton(
                onPressed: () {},
                child: const Text('Hello World!'),
              ),
            ],
          ),
        ),
      ),
    );
  }
}
4
likes
140
points
33
downloads

Publisher

verified publisherk9i.app

Weekly Downloads

material_button_assist is an assistant that makes using Material Design's Common buttons easier.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, custom_lint_builder

More

Packages that depend on material_button_assist