2022-12-27 03:19:49 +00:00
|
|
|
part of 'courierspage.dart';
|
|
|
|
|
|
|
|
class _Courier extends StatelessWidget {
|
|
|
|
const _Courier({
|
|
|
|
required this.courier,
|
|
|
|
});
|
|
|
|
|
|
|
|
final Courier courier;
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(final BuildContext context) => InkWell(
|
|
|
|
child: Container(
|
|
|
|
padding: const EdgeInsets.symmetric(horizontal: 15),
|
|
|
|
height: 48,
|
|
|
|
child: Row(
|
|
|
|
children: [
|
|
|
|
Container(
|
|
|
|
width: 17,
|
|
|
|
height: 17,
|
|
|
|
decoration: const BoxDecoration(
|
|
|
|
color: Color.fromRGBO(
|
2022-12-27 06:23:01 +00:00
|
|
|
233,
|
|
|
|
333,
|
|
|
|
30,
|
2022-12-27 03:19:49 +00:00
|
|
|
100,
|
|
|
|
),
|
|
|
|
shape: BoxShape.circle,
|
|
|
|
),
|
|
|
|
),
|
|
|
|
const SizedBox(width: 20),
|
|
|
|
Flexible(
|
2022-12-27 05:50:42 +00:00
|
|
|
child: Text('${courier.name} ${courier.surname}'),
|
2022-12-27 03:19:49 +00:00
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
}
|