35 lines
1.1 KiB
Dart
35 lines
1.1 KiB
Dart
import 'package:denta_koas/src/cores/bindings/general_bindings.dart';
|
|
import 'package:denta_koas/src/utils/constants/colors.dart';
|
|
import 'package:denta_koas/src/utils/constants/text_strings.dart';
|
|
import 'package:denta_koas/src/utils/theme/theme.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter_localizations/flutter_localizations.dart';
|
|
import 'package:get/get_navigation/src/root/get_material_app.dart';
|
|
|
|
class App extends StatelessWidget {
|
|
const App({super.key});
|
|
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return GetMaterialApp(
|
|
title: TTexts.appName,
|
|
themeMode: ThemeMode.system,
|
|
theme: TAppTheme.lightTheme,
|
|
darkTheme: TAppTheme.darkTheme,
|
|
debugShowCheckedModeBanner: false,
|
|
initialBinding: GeneralBindings(),
|
|
localizationsDelegates: GlobalMaterialLocalizations.delegates,
|
|
supportedLocales: const [
|
|
Locale('id', ''),
|
|
],
|
|
// initialBinding: GeneralBindings(),
|
|
home: const Scaffold(
|
|
backgroundColor: TColors.primary,
|
|
body: Center(
|
|
child: CircularProgressIndicator(color: TColors.white),
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|