canton_ui 1.0.9 copy "canton_ui: ^1.0.9" to clipboard
canton_ui: ^1.0.9 copied to clipboard

UI Package for developing UI faster and more efficiently in Flutter

example/lib/main.dart

import 'package:canton_ui/canton_ui.dart';

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

  @override
  Widget build(BuildContext context) {
    return const CantonApp(
      title: 'CantonUI',
      home: Home(),
      primaryLightColor: CantonColors.blue,
      primaryDarkColor: CantonDarkColors.blue,
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return CantonScaffold(
      body: Column(
        children: const [
          ViewHeaderTwo(
            title: 'CantonUI',
          )
        ],
      ),
    );
  }
}