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

A package aims to bring you better menus and UI elements for your flutter app

example/lib/main.dart

import 'package:example/list_menu_page.dart';
import 'package:flutter/material.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Home(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            ElevatedButton(
              onPressed: () {
                Navigator.of(context).push(
                  MaterialPageRoute(
                    builder: (context) => const ListMenuPage(),
                  ),
                );
              },
              child: const Text('List Menu Example'),
            )
          ],
        ),
      ),
    );
  }
}
0
likes
140
pub points
0%
popularity

Publisher

verified publisherdaniel.toubul.eu

A package aims to bring you better menus and UI elements for your flutter app

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on better_menus