added keys parameter to coupons containers

This commit is contained in:
Semyon Babushkin
2017-12-11 14:38:02 +03:00
parent 8c42d040c0
commit cd9a831571
3 changed files with 6 additions and 2 deletions

View File

@@ -193,6 +193,7 @@ abstract class BaseState<T extends StatefulWidget> extends State<T> {
}
return new Container(
key: new Key(new DateTime.now().millisecondsSinceEpoch.toString()),
margin: new EdgeInsets.only(left: 5.0, right: 5.0, top: 5.0),
child: new Card(
child: new ExpansionTile(

View File

@@ -64,6 +64,8 @@ getCouponsRequest(String endpoint, String token) async {
'Accept-Language': Intl.defaultLocale
};
print(headers);
return httpClient.get(endpoint, headers: headers);
}