Commit 08eca0df authored by Dio Maulana's avatar Dio Maulana

perubahan pada halaman onboarding

parent da7b798f
......@@ -3,5 +3,6 @@
"end_point": "rav/attendance/",
"brand": "EXC",
"title": "Excelso Attendance",
"company": "PT. Excelso Multi Rasa",
"debug": true
}
\ No newline at end of file
......@@ -16,6 +16,7 @@ late String brandCode;
late String baseUrl;
late String endPoint;
late String companyName;
// final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();
......@@ -56,6 +57,7 @@ Future<void> loadConfigFile() async {
baseUrl = decodeJson['base_url'].toString();
endPoint = decodeJson['end_point'].toString();
debug = decodeJson['debug'];
companyName = decodeJson['company'].toString();
}
class MyApp extends StatelessWidget {
......
......@@ -4,7 +4,6 @@ import 'dart:async';
import 'package:excelso_attendance/api/api.dart';
import 'package:excelso_attendance/helper/arguments/route_args.dart';
import 'package:excelso_attendance/helper/component/button.dart';
import 'package:excelso_attendance/helper/component/password_input.dart';
import 'package:excelso_attendance/helper/component/text_field.dart';
// import 'package:excelso_attendance/helper/component/text_field.dart';
import 'package:excelso_attendance/helper/global_function/date_time.dart';
......
......@@ -3,6 +3,7 @@ import 'package:excelso_attendance/helper/arguments/error_args.dart';
import 'package:excelso_attendance/helper/arguments/route_args.dart';
import 'package:excelso_attendance/helper/pref.dart';
import 'package:excelso_attendance/helper/widget_responsive.dart';
import 'package:excelso_attendance/main.dart';
import 'package:excelso_attendance/models/branch.dart';
import 'package:excelso_attendance/models/shift.dart';
import 'package:excelso_attendance/resource/assets.dart';
......@@ -328,7 +329,7 @@ dengan sekali klik''',
top: 30,
),
child: Text(
"Since © 2023",
companyName,
style: getMediumStyle(
color: Colors.black,
),
......
......@@ -75,6 +75,7 @@ flutter:
assets:
- assets/images/
- assets/icons/
- assets/config.json
fonts:
- family: Open Sans
fonts:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment