Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hoàng Văn Đạt
mypoint_flutter_app
Commits
cc202df4
Commit
cc202df4
authored
Aug 25, 2025
by
DatHV
Browse files
update change id, popup common manager
parent
417358c5
Changes
43
Hide whitespace changes
Inline
Side-by-side
lib/shared/router_gage.dart
View file @
cc202df4
import
'package:flutter/cupertino.dart'
;
import
'package:get/get.dart'
;
import
'package:mypoint_flutter_app/screen/news/news_list_screen.dart'
;
import
'../screen/achievement/achievement_list_screen.dart'
;
...
...
@@ -6,6 +5,7 @@ import '../screen/affiliate/affiliate_tab_screen.dart';
import
'../screen/affiliate_brand_detail/affiliate_brand_detail_screen.dart'
;
import
'../screen/affiliate_brand_detail/affiliate_brand_list_screen.dart'
;
import
'../screen/affiliate_brand_detail/affiliate_category_grid_screen.dart'
;
import
'../screen/bank_account_manager/bank_account_manager_screen.dart'
;
import
'../screen/campaign7day/campaign_7day_screen.dart'
;
import
'../screen/contacts/contacts_list_screen.dart'
;
import
'../screen/daily_checkin/daily_checkin_screen.dart'
;
...
...
@@ -40,6 +40,7 @@ import '../screen/transaction/history/transaction_history_detail_screen.dart';
import
'../screen/transaction/transaction_detail_screen.dart'
;
import
'../screen/transaction/transactions_history_screen.dart'
;
import
'../screen/voucher/detail/voucher_detail_screen.dart'
;
import
'../screen/voucher/my_voucher/my_mobile_card_list_widget.dart'
;
import
'../screen/voucher/my_voucher/my_product_list_widget.dart'
;
import
'../screen/voucher/voucher_list/voucher_list_screen.dart'
;
import
'../screen/vplay_game_center/vplay_game_center_screen.dart'
;
...
...
@@ -91,6 +92,8 @@ const campaignSevenDayScreen = '/campaignSevenDayScreen';
const
surveyQuestionScreen
=
'/surveyQuestionScreen'
;
const
deviceManagerScreen
=
'/deviceManagerScreen'
;
const
interestCategoriesScreen
=
'/interestCategoriesScreen'
;
const
myMobileCardListScreen
=
'/myMobileCardListScreen'
;
const
bankAccountManagerScreen
=
'/bankAccountManagerScreen'
;
class
RouterPage
{
static
List
<
GetPage
>
pages
()
{
...
...
@@ -151,7 +154,9 @@ class RouterPage {
GetPage
(
name:
campaignSevenDayScreen
,
page:
()
=>
Campaign7DayScreen
()),
GetPage
(
name:
surveyQuestionScreen
,
page:
()
=>
SurveyQuestionScreen
()),
GetPage
(
name:
deviceManagerScreen
,
page:
()
=>
DeviceManagerScreen
()),
GetPage
(
name:
myMobileCardListScreen
,
page:
()
=>
MyMobileCardListScreen
()),
GetPage
(
name:
interestCategoriesScreen
,
page:
()
=>
InterestCategoriesScreen
()),
GetPage
(
name:
bankAccountManagerScreen
,
page:
()
=>
BankAccountManagerScreen
()),
];
}
}
\ No newline at end of file
lib/widgets/custom_navigation_bar.dart
View file @
cc202df4
...
...
@@ -5,14 +5,14 @@ import 'image_loader.dart';
class
CustomNavigationBar
extends
StatelessWidget
implements
PreferredSizeWidget
{
final
String
title
;
final
String
?
backgroundImage
;
final
bool
showBack
Button
;
final
List
<
Widget
>
left
Button
s
;
final
List
<
Widget
>
rightButtons
;
const
CustomNavigationBar
({
super
.
key
,
required
this
.
title
,
this
.
backgroundImage
=
"assets/images/bg_header_navi.png"
,
this
.
show
BackButton
=
true
,
this
.
leftButtons
=
const
[
Custom
BackButton
()]
,
this
.
rightButtons
=
const
[],
});
...
...
@@ -58,7 +58,9 @@ class CustomNavigationBar extends StatelessWidget implements PreferredSizeWidget
textAlign:
TextAlign
.
center
,
),
// Back button bên trái
if
(
showBackButton
)
Positioned
(
left:
12
,
child:
CustomBackButton
()),
// if (showBackButton) Positioned(left: 12, child: CustomBackButton()),
if
(
leftButtons
.
isNotEmpty
)
Positioned
(
left:
12
,
child:
Row
(
mainAxisSize:
MainAxisSize
.
min
,
children:
leftButtons
)),
// Buttons bên phải
if
(
rightButtons
!=
null
)
Positioned
(
right:
12
,
child:
Row
(
mainAxisSize:
MainAxisSize
.
min
,
children:
rightButtons
!)),
...
...
pubspec.yaml
View file @
cc202df4
...
...
@@ -57,7 +57,7 @@ dependencies:
infinite_carousel
:
^1.0.3
package_info_plus
:
^4.1.0
dotted_border
:
^2.0.0
contacts_service
:
^0.6.3
#
contacts_service: ^0.6.3
flutter_contacts
:
^1.1.6
permission_handler
:
^11.0.0
share_plus
:
^7.2.1
...
...
Prev
1
2
3
Next
Write
Preview
Supports
Markdown
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