Protótipo Vilacorp
This commit is contained in:
+20
-22
@@ -1,4 +1,4 @@
|
||||
import 'package:decpisos/funcoes_gerais.dart';
|
||||
import 'package:vilacorp/funcoes_gerais.dart';
|
||||
import 'package:firebase_core/firebase_core.dart';
|
||||
//import 'package:firebase_messaging/firebase_messaging.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -17,25 +17,23 @@ Future<void> main() async {
|
||||
// });
|
||||
|
||||
runApp(GetMaterialApp(
|
||||
title: FuncoesGerais.nomeApp,
|
||||
localizationsDelegates: [
|
||||
// ... app-specific localization delegate[s] here
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate
|
||||
],
|
||||
supportedLocales: [
|
||||
const Locale('pt'),
|
||||
],
|
||||
theme: ThemeData.light().copyWith(primaryColor: Color(0xFF05578e)),
|
||||
darkTheme: ThemeData.dark().copyWith(primaryColor: Colors.black87),
|
||||
// theme: ThemeData(
|
||||
// //brightness: Brightness.dark,
|
||||
// visualDensity: VisualDensity.adaptivePlatformDensity,
|
||||
// primarySwatch: Colors.blueGrey
|
||||
// ),
|
||||
themeMode: ThemeMode.dark,
|
||||
home: SplashScreen()
|
||||
));
|
||||
title: FuncoesGerais.nomeApp,
|
||||
localizationsDelegates: [
|
||||
// ... app-specific localization delegate[s] here
|
||||
GlobalMaterialLocalizations.delegate,
|
||||
GlobalWidgetsLocalizations.delegate,
|
||||
GlobalCupertinoLocalizations.delegate
|
||||
],
|
||||
supportedLocales: [
|
||||
const Locale('pt'),
|
||||
],
|
||||
theme: ThemeData.light().copyWith(primaryColor: Color(0xFF05578e)),
|
||||
darkTheme: ThemeData.dark().copyWith(primaryColor: Colors.black87),
|
||||
// theme: ThemeData(
|
||||
// //brightness: Brightness.dark,
|
||||
// visualDensity: VisualDensity.adaptivePlatformDensity,
|
||||
// primarySwatch: Colors.blueGrey
|
||||
// ),
|
||||
themeMode: ThemeMode.dark,
|
||||
home: SplashScreen()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user