mirror of
https://github.com/SoPat712/RUSwipeShare.git
synced 2025-08-21 19:08:46 -04:00
Merge branch 'master' of https://github.com/SoPat712/RUSwipeShare
This commit is contained in:
@@ -5,25 +5,25 @@ import 'firebase_options.dart';
|
||||
import 'auth_gate.dart';
|
||||
|
||||
void main() async {
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
WidgetsFlutterBinding.ensureInitialized();
|
||||
await Firebase.initializeApp(options: DefaultFirebaseOptions.currentPlatform);
|
||||
|
||||
runApp(const MyApp());
|
||||
}
|
||||
|
||||
class MyApp extends StatelessWidget {
|
||||
|
||||
const MyApp({super.key});
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
theme: ThemeData(
|
||||
primarySwatch: CustomMaterialColor(200,61,61).mdColor,
|
||||
),
|
||||
home: const AuthGate(),
|
||||
);
|
||||
}
|
||||
const MyApp({super.key});
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return MaterialApp(
|
||||
theme: ThemeData(
|
||||
primarySwatch: CustomMaterialColor(200, 61, 61).mdColor,
|
||||
),
|
||||
home: const AuthGate(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
class CustomMaterialColor {
|
||||
final int r;
|
||||
final int g;
|
||||
@@ -46,4 +46,4 @@ class CustomMaterialColor {
|
||||
};
|
||||
return MaterialColor(Color.fromRGBO(r, g, b, 1).value, color);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user