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

outdated

Utilities that make it easy and fast to build adaptive apps for mobile, web, and beyond with Flutter.

example/lib/main.dart

import 'package:bamboo/bamboo.dart';
import 'package:example/example/zeus/theme/zeus_colors.dart';
import 'package:example/example/zeus/zeus.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_web_plugins/flutter_web_plugins.dart';

void configureApp() {
  setUrlStrategy(PathUrlStrategy());
}

void main() {
  SystemChrome.setSystemUIOverlayStyle(const SystemUiOverlayStyle(
    systemNavigationBarColor: ZeusColors.backgroundColor,
    systemNavigationBarDividerColor: ZeusColors.backgroundColor,
    statusBarColor: ZeusColors.backgroundColor,
  ));
  if (kIsWeb) {
    configureApp();
  }
  runApp(const ZeusApp());
}

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return BambooBreakPoint(
      mobile: 500,
      child: MaterialApp(
        debugShowCheckedModeBanner: false,
        themeMode: ThemeMode.light,
        // showPerformanceOverlay: true,
        title: 'Flutter Demo',
        home: const ZeusApp(),
        theme: ThemeData(
          primarySwatch: Colors.blue,
        ),
      ),
    );
  }
}
61
likes
0
points
29
downloads

Publisher

verified publisherrexthedev.blogspot.com

Weekly Downloads

Utilities that make it easy and fast to build adaptive apps for mobile, web, and beyond with Flutter.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on bamboo