This commit is contained in:
sewmina7@gmail.com 2023-08-21 08:23:51 +05:30
parent 73d7155109
commit 3d6d051bf4
2 changed files with 8 additions and 3 deletions

View File

@ -337,10 +337,15 @@ class _HomeState extends State<Home> with WidgetsBindingObserver {
Widget GameCard({required int index, required List<dynamic> list}) {
return GlassCard(
child: InkWell(
onTap: () {
Navigator.of(context).push(MaterialPageRoute(
onTap: () async{
await Navigator.of(context).push(MaterialPageRoute(
builder: (BuildContext context) =>
GameInfoPage(gameJson: list[index])));
await DataManager.GrabOnce();
setState(() {
});
},
child: Container(
padding: EdgeInsets.all(12),

View File

@ -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.0.3+3
version: 1.0.4+4
environment:
sdk: '>=3.0.1 <4.0.0'