change page navigation
This commit is contained in:
@@ -15,14 +15,16 @@ class BottomWidgets extends StatelessWidget {
|
||||
children: <Widget>[
|
||||
InkWell(
|
||||
onTap: () {
|
||||
Navigator.of(context).push(BottomUpPageRoute(ContactPage()));
|
||||
Navigator.of(context)
|
||||
.push(CupertinoPageRoute(builder: (context) => ContactPage()));
|
||||
},
|
||||
child: _buildSmallButton(
|
||||
context, "contact.btn", SimpleLineIcons.support),
|
||||
),
|
||||
InkWell(
|
||||
onTap: () {
|
||||
Navigator.of(context).push(BottomUpPageRoute(TermPage()));
|
||||
Navigator.of(context)
|
||||
.push(CupertinoPageRoute(builder: (context) => TermPage()));
|
||||
},
|
||||
child: _buildSmallButton(context, "term.btn", Icons.info_outline),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user