arche 0.0.3 copy "arche: ^0.0.3" to clipboard
arche: ^0.0.3 copied to clipboard

Arche is a Flutter library including utils to build applications effectively.

example/lib/main.dart

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

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'Flutter Demo',
        theme: ThemeData(
          colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
          useMaterial3: true,
        ),
        home: const Scaffold(
            body: NavigationView(
          direction: Axis.horizontal,
          items: [
            NavigationItem(
              icon: Icon(Icons.home),
              label: "Home",
              page: Card(
                  child: Center(
                child: Text("Home"),
              )),
            ),
            NavigationItem(
              icon: Icon(Icons.settings),
              label: "Settings",
              page: Center(
                child: Text("Settings"),
              ),
            ),
          ],
        )));
  }
}
1
likes
0
pub points
29%
popularity

Publisher

verified publisherh2sxxa.eu.org

Arche is a Flutter library including utils to build applications effectively.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on arche