1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- import 'package:flutter/material.dart';
- import 'package:putra_go/screens/passenger/userHome/userCustomizedOrder.dart';
- class userMatchingDriver extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return Scaffold(
- backgroundColor: Colors.white,
- body: Padding(
- padding: const EdgeInsets.all(16.0),
- child: Column(
- mainAxisAlignment: MainAxisAlignment.center,
- crossAxisAlignment: CrossAxisAlignment.center,
- children: [
- const Text(
- 'Looking for driver to accept..',
- style: TextStyle(
- fontFamily: 'Poppins',
- fontSize: 17,
- fontWeight: FontWeight.bold,
- color: Colors.black,
- ),
- ),
- const Text(
- 'Do no worry,',
- style: TextStyle(
- fontFamily: 'Poppins',
- fontSize: 17,
- fontWeight: FontWeight.bold,
- color: Colors.black,
- ),
- ),
- const Text(
- 'It needs some time~',
- style: TextStyle(
- fontFamily: 'Poppins',
- fontSize: 17,
- fontWeight: FontWeight.bold,
- color: Colors.black,
- ),
- ),
- const SizedBox(height: 10),
- Image.asset(
- 'assets/images/matchingLogo.png',
- height: 170,
- width: 170,
- ),
- const SizedBox(height: 40),
- Align(
- alignment: Alignment.center,
- child:
- Container(
- width: 334,
- height: 65,
- decoration: BoxDecoration(
- borderRadius: BorderRadius.circular(10),
- color: const Color.fromRGBO(255, 120, 116, 1),
- ),
- child: TextButton(
- onPressed: () {
- Navigator.push(
- context,
- MaterialPageRoute(builder: (context) => userCustomizedOrder()),
- );
- },
- child: const Text(
- 'Cancle this order',
- style: TextStyle(
- fontFamily: 'Poppins',
- fontSize: 17,
- fontWeight: FontWeight.bold,
- color: Colors.white,
- ),
- ),
- ),
- ),
- ),
- const SizedBox(height: 10),
- ],
- ),
- ),
- );
- }
- }
|