added keys parameter to coupons containers
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -64,6 +64,8 @@ getCouponsRequest(String endpoint, String token) async {
|
||||
'Accept-Language': Intl.defaultLocale
|
||||
};
|
||||
|
||||
print(headers);
|
||||
|
||||
return httpClient.get(endpoint, headers: headers);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user