Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
PPL Sosial
pilar
pilar-mobile
Commits
4a44c8e5
Commit
4a44c8e5
authored
Jan 13, 2021
by
Tsamara Esperanti Erwin
Browse files
fix errors
parent
e81b5c26
Changes
3
Hide whitespace changes
Inline
Side-by-side
lib/Pages/ProductPayment/bloc/payment_bloc.dart
View file @
4a44c8e5
import
'dart:async'
;
import
'package:bloc/bloc.dart'
;
import
'package:dio/dio.dart'
;
import
'package:home_industry/Pages/ProductPayment/repositories/payment_repository.dart'
;
import
'package:home_industry/Pages/Transactions/repositories/transaction_repository.dart'
;
import
'package:home_industry/State/ChangeBottomNavigatonBar/change_bottom_navigation_bar_bloc.dart'
;
...
...
@@ -38,7 +39,7 @@ class PaymentBloc extends Bloc<PaymentEvent, PaymentState> {
event
.
image
,
event
.
bankName
,
event
.
bankIdDestination
);
yield
const
UploadProofSuccess
();
_changeBottomNavigationBarBloc
.
add
(
const
TransactionOccur
());
}
catch
(
_
)
{
}
on
DioError
catch
(
_
)
{
yield
const
UploadProofError
();
}
}
...
...
lib/Pages/Transactions/my_detail_order.dart
View file @
4a44c8e5
...
...
@@ -715,12 +715,7 @@ class _ItemCart extends StatelessWidget {
text:
item
.
productName
,
style:
Theme
.
of
(
context
).
textTheme
.
headline6
.
copyWith
(
fontSize:
18
,
color:
Theme
.
of
(
context
).
primaryColor
),
children:
<
TextSpan
>[
if
(
item
.
productPreorder
)
TextSpan
(
text:
' - preorder'
,
style:
Theme
.
of
(
context
).
textTheme
.
subtitle1
)
])),
)),
trailing:
PriceTextFormatter
(
price:
'
${item.quantity * double.parse(item.productPrice)}
'
,
style:
const
TextStyle
(
...
...
lib/home_industry_app.dart
View file @
4a44c8e5
...
...
@@ -52,6 +52,7 @@ class HomeIndustryApp extends StatelessWidget {
)
],
child:
MaterialApp
(
debugShowCheckedModeBanner:
false
,
title:
'Industri Pilar'
,
builder:
(
BuildContext
context
,
Widget
child
)
=>
Material
(
child:
FlutterEasyLoading
(
...
...
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