change page navigation
This commit is contained in:
@@ -2,6 +2,7 @@ import 'package:fcs/domain/entities/package.dart';
|
||||
import 'package:fcs/pages/package/package_info.dart';
|
||||
import 'package:fcs/pages/main/util.dart';
|
||||
import 'package:fcs/pages/widgets/bottom_up_page_route.dart';
|
||||
import 'package:flutter/cupertino.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:intl/intl.dart';
|
||||
|
||||
@@ -28,7 +29,7 @@ class PackageListRow extends StatelessWidget {
|
||||
}
|
||||
Navigator.push(
|
||||
context,
|
||||
BottomUpPageRoute(PackageInfo(package: package)),
|
||||
CupertinoPageRoute(builder: (context) => PackageInfo(package: package)),
|
||||
);
|
||||
},
|
||||
child: Row(
|
||||
|
||||
Reference in New Issue
Block a user