aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.dart
blob: c09f328a1ab84bb8b3cf326d0243d8ab6c24a0c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import 'package:flutter/material.dart';
import 'package:flutter_homescreen/homescreen.dart';

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

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    const navBarColor = const Color(0xff181818);
    const navBarIconColor = Colors.white;

    return MaterialApp(
      title: 'Homescreen',
      theme: ThemeData(
        navigationBarTheme: NavigationBarThemeData(
            backgroundColor: navBarColor,
            labelTextStyle: MaterialStateProperty.all(const TextStyle(
              color: navBarIconColor,
            )),
            iconTheme: MaterialStateProperty.all(const IconThemeData(
              color: navBarIconColor,
            ))),
      ),
      home: Homescreen(),
    );
  }
}