Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
Crm Attendance
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dio Maulana
Crm Attendance
Commits
08eca0df
Commit
08eca0df
authored
Jun 30, 2023
by
Dio Maulana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perubahan pada halaman onboarding
parent
da7b798f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
2 deletions
+6
-2
config.json
assets/config.json
+1
-0
main.dart
lib/main.dart
+2
-0
home.dart
lib/page/home/home.dart
+0
-1
onboarding.dart
lib/page/onboarding/onboarding.dart
+2
-1
pubspec.yaml
pubspec.yaml
+1
-0
No files found.
assets/config.json
View file @
08eca0df
...
...
@@ -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
lib/main.dart
View file @
08eca0df
...
...
@@ -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
{
...
...
lib/page/home/home.dart
View file @
08eca0df
...
...
@@ -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'
;
...
...
lib/page/onboarding/onboarding.dart
View file @
08eca0df
...
...
@@ -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
,
),
...
...
pubspec.yaml
View file @
08eca0df
...
...
@@ -75,6 +75,7 @@ flutter:
assets
:
-
assets/images/
-
assets/icons/
-
assets/config.json
fonts
:
-
family
:
Open Sans
fonts
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment