mirrored_repositories/flutter_desings_app
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:flutter_desings_app/src/pages/basic_page.dart';
import 'package:flutter_desings_app/src/pages/buttons_page.dart';
import 'package:flutter_desings_app/src/pages/scroll_page.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.light.copyWith(
      statusBarColor: Colors.white,
    ));
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Designs',
      initialRoute: 'buttons',
      routes: {
        'basic': (BuildContext context) => BasicPage(),
        'scroll': (BuildContext context) => ScrollPage(),
        'buttons': (BuildContext context) => ButtonsPage(),
      },
    );
  }
}
