-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.dart
31 lines (27 loc) · 818 Bytes
/
main.dart
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
31
import 'package:flutter/material.dart';
import 'screans/dashboard.dart';
void main() {
runApp(const ByteBanck());
}
class ByteBanck extends StatelessWidget {
const ByteBanck({Key? key}) : super(key: key);
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'BytbanckApp',
theme: ThemeData(
/*primaryColor: Colors.green.shade900,*/
colorScheme: ColorScheme.fromSwatch().copyWith(
primary: Colors.green.shade900,
secondary: Colors.blueAccent.shade700,
),
buttonTheme: ButtonThemeData(
buttonColor: Colors.blueAccent.shade700,
textTheme: ButtonTextTheme.primary,
),
),
home: const Dashboard(title: 'Dashboard'),
);
}
}