Smoth screen changes. Step 1

This commit is contained in:
Ivan Murashov
2018-03-08 23:53:31 +03:00
parent cfdf5dcca2
commit 58e58671de
13 changed files with 238 additions and 209 deletions

View File

@@ -26,11 +26,9 @@ class PurchaseSuccessScreenState<T> extends BaseState<PurchaseSuccessScreen> {
PurchaseSuccessScreenState(
String sum, String username, SqliteHelper helper,
String app, Map details, List<Map> coupons
){
) : super(helper, app) {
this.sum = sum;
this.username = username;
this.helper = helper;
this.app = app;
this.details = details;
this.coupons = coupons;
}
@@ -131,7 +129,8 @@ class PurchaseSuccessScreenState<T> extends BaseState<PurchaseSuccessScreen> {
getScanButton() {
String title = StringsLocalization.scan();
return buildRaisedButton(title, () => startScanner(context, app, helper));
// FIXME: return buildRaisedButton(title, () => startScanner(context, app, helper));
return buildRaisedButton(title, () => print('startScanner'));
}