theme & package
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:absensi_sas/app/constant.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
@@ -43,7 +44,23 @@ class MyApp extends StatelessWidget {
|
||||
// ),
|
||||
theme: ThemeData(
|
||||
primarySwatch: Colors.orange,
|
||||
primaryColor: Constant.textOrange,
|
||||
primaryColorDark: Constant.textOrange,
|
||||
primaryColorLight: Constant.textOrange,
|
||||
colorScheme: Theme.of(context).colorScheme.copyWith(
|
||||
primary: Constant.textOrange,
|
||||
background: Colors.white,
|
||||
surface: Colors.white),
|
||||
// datePickerTheme: DatePickerThemeData(
|
||||
// // backgroundColor: Colors.white,
|
||||
// // headerHeadlineStyle:
|
||||
// // Constant.h3_400(context: context).copyWith(color: Colors.white),
|
||||
// headerBackgroundColor: Constant.textOrange,
|
||||
// headerForegroundColor: Colors.white,
|
||||
// surfaceTintColor: Colors.white,
|
||||
// backgroundColor: Colors.white),
|
||||
),
|
||||
|
||||
// home: TestMap(),
|
||||
initialRoute: loginRoute,
|
||||
// initialRoute: presensiSelfieRoute,
|
||||
|
||||
Reference in New Issue
Block a user