mega 0.1.0 copy "mega: ^0.1.0" to clipboard
mega: ^0.1.0 copied to clipboard

discontinued
outdated

Mega widgets and themes for Flutter.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:mega/mega.dart';

void main() => runApp(const MyApp());

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MegaApp(
      title: 'Flutter Demo',
      debugShowCheckedModeBanner: false,
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  const Home({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MegaScaffold(
      headerBar: MegaHeaderBar(
        leading: Row(
          children: [
            MegaIconButton(icon: Icons.add_outlined, onPressed: () {}),
            MegaTextButton(text: "Open", onPressed: () {}),
            MegaButton(
              text: "Add",
              icon: Icons.add_outlined,
              onPressed: () {},
            ),
            MegaLinkedButtons(
              buttons: [
                MegaLinkedButton(
                  text: "Add",
                  icon: Icons.add_outlined,
                  onPressed: () {},
                ),
                MegaLinkedButton.text(
                  text: "Open",
                  onPressed: () {},
                ),
                MegaLinkedButton.icon(
                  icon: Icons.add_outlined,
                  onPressed: () {},
                ),
              ],
            ),
          ],
        ),
      ),
      body: Center(
        child: Column(
          children: const [
            MegaList(
              title: "Title",
              children: [
                Text("data"),
              ],
            ),
          ],
        ),
      ),
    );
  }
}
0
likes
0
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

Mega widgets and themes for Flutter.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on mega