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
4bd580fa
Commit
4bd580fa
authored
Sep 26, 2025
by
DatHV
Browse files
update game card detail, mobile card
parent
b75a9279
Changes
43
Show whitespace changes
Inline
Side-by-side
lib/screen/voucher/models/my_mobile_card_response.dart
View file @
4bd580fa
import
'../../mobile_card/models/product_mobile_card_model.dart'
;
import
'../../mobile_card/models/usable_voucher_model.dart'
;
class
MyVoucherResponse
{
final
int
?
listStart
;
final
int
?
listLimit
;
final
int
?
listTotal
;
final
List
<
ProductMobileCard
Model
>?
listItems
;
final
List
<
UsableVoucher
Model
>?
listItems
;
MyVoucherResponse
({
this
.
listStart
,
...
...
@@ -19,7 +20,7 @@ class MyVoucherResponse {
listLimit:
json
[
'list_limit'
]
as
int
?,
listTotal:
json
[
'list_total'
]
as
int
?,
listItems:
(
json
[
'list_items'
]
as
List
<
dynamic
>?)
?.
map
((
e
)
=>
ProductMobileCard
Model
.
fromJson
(
e
as
Map
<
String
,
dynamic
>))
?.
map
((
e
)
=>
UsableVoucher
Model
.
fromJson
(
e
as
Map
<
String
,
dynamic
>))
.
toList
(),
);
}
...
...
lib/shared/router_gage.dart
View file @
4bd580fa
...
...
@@ -42,7 +42,8 @@ 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/mobile_card/my_mobile_card_detail_widget.dart'
;
import
'../screen/voucher/mobile_card/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'
;
...
...
@@ -97,6 +98,7 @@ const myMobileCardListScreen = '/myMobileCardListScreen';
const
bankAccountManagerScreen
=
'/bankAccountManagerScreen'
;
const
historyPointScreen
=
'/historyPointScreen'
;
const
qrCodeScreen
=
'/qrCodeScreen'
;
const
myMobileCardDetailScreen
=
'/myMobileCardDetailScreen'
;
class
RouterPage
{
static
List
<
GetPage
>
pages
()
{
...
...
@@ -162,6 +164,7 @@ class RouterPage {
GetPage
(
name:
bankAccountManagerScreen
,
page:
()
=>
BankAccountManagerScreen
()),
GetPage
(
name:
historyPointScreen
,
page:
()
=>
HistoryPointScreen
()),
GetPage
(
name:
qrCodeScreen
,
page:
()
=>
QRCodeScreen
()),
GetPage
(
name:
myMobileCardDetailScreen
,
page:
()
=>
MyMobileCardDetailScreen
()),
];
}
}
\ No newline at end of file
pubspec.yaml
View file @
4bd580fa
...
...
@@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version
:
1.21.11+202510
18
01
version
:
1.21.11+202510
24
01
environment
:
sdk
:
^3.7.0
...
...
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