fix: ui names
This commit is contained in:
parent
66ef4e99d8
commit
b6b0cdaf65
|
@ -9,12 +9,12 @@ class _Courier extends StatelessWidget {
|
|||
|
||||
@override
|
||||
Widget build(final BuildContext context) => InkWell(
|
||||
onTap: () {
|
||||
// Navigator.of(context).push(
|
||||
// MaterialPageRoute(
|
||||
// builder: (final BuildContext context) => CourierDetails(courier),
|
||||
// );
|
||||
},
|
||||
//onTap: () {
|
||||
//Navigator.of(context).push(
|
||||
// MaterialPageRoute(
|
||||
//builder: (final BuildContext context) => CourierDetails(courier),
|
||||
//);
|
||||
// },
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 15),
|
||||
height: 48,
|
||||
|
@ -35,7 +35,7 @@ class _Courier extends StatelessWidget {
|
|||
),
|
||||
const SizedBox(width: 20),
|
||||
Flexible(
|
||||
child: Text('${courier.name} ${courier.surname}'),
|
||||
child: Text(courier.title),
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
0
lib/ui/courierdetails.dart
Normal file
0
lib/ui/courierdetails.dart
Normal file
|
@ -75,11 +75,7 @@ class CouriersPage extends StatelessWidget {
|
|||
child: AppBar(
|
||||
title: const Padding(
|
||||
padding: EdgeInsets.only(top: 4.0),
|
||||
child: Text('Товары'),
|
||||
),
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.arrow_back),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
child: Text('Курьеры'),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
|
@ -76,10 +76,6 @@ class ItemsPage extends StatelessWidget {
|
|||
padding: EdgeInsets.only(top: 4.0),
|
||||
child: Text('Товары'),
|
||||
),
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.arrow_back),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
),
|
||||
),
|
||||
),
|
||||
body: child,
|
||||
|
|
|
@ -75,11 +75,7 @@ class OrdersPage extends StatelessWidget {
|
|||
child: AppBar(
|
||||
title: const Padding(
|
||||
padding: EdgeInsets.only(top: 4.0),
|
||||
child: Text('Товары'),
|
||||
),
|
||||
leading: IconButton(
|
||||
icon: const Icon(Icons.arrow_back),
|
||||
onPressed: () => Navigator.of(context).pop(),
|
||||
child: Text('Заказы'),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue