0% found this document useful (0 votes)
6 views3 pages

Booking

Uploaded by

prathameshp9922
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

Booking

Uploaded by

prathameshp9922
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

import 'package:flutter/material.

dart';

class MyStatefulWidget extends StatelessWidget {


@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
appBar: AppBar(
title: Text('Sprout'),
backgroundColor: Colors.green,
),
body: SingleChildScrollView(
child: Padding(
padding: const EdgeInsets.all(16.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
// Date, Time, Farmer ID section
Row(
children: [
Text(
'Date:',
style: TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold,
),
),
SizedBox(width: 8.0),
Text('2024-03-23'),
],
),
Row(
children: [
Text(
'Time:',
style: TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold,
),
),
SizedBox(width: 8.0),
Text('18:54 IST'),
],
),
Row(
children: [
Text(
'Farmer ID:',
style: TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold,
),
),
SizedBox(width: 8.0),
Text('id'),
],
),
SizedBox(height: 16.0),
// Field Area section
Row(
children: [
Text(
'Field Area:',
style: TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold,
),
),
SizedBox(width: 8.0),
Text('Field of cane'),
],
),
SizedBox(height: 8.0),

// Location section
Row(
children: [
Text(
'Location:',
style: TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold,
),
),
SizedBox(width: 8.0),
Text('Field Location'),
],
),
SizedBox(height: 8.0),

// Driver Name section


Row(
children: [
Text(
'Driver Name:',
style: TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold,
),
),
SizedBox(width: 8.0),
Text('Driver Name'),
],
),
SizedBox(height: 8.0),

// Vehicle List section


Row(
children: [
Text(
'Vehicle List:',
style: TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold,
),
),
SizedBox(width: 8.0),
Text('Vehicle List'),
],
),
SizedBox(height: 16.0),

// No. of Trollies section


Row(
children: [
Text(
'No. of Trollies:',
style: TextStyle(
fontSize: 16.0,
fontWeight: FontWeight.bold,
),
),
SizedBox(width: 8.0),
Text('as required'),
],
),
SizedBox(height: 16.0),

// Button section
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
ElevatedButton(
onPressed: () {},
child: Text('CANCEL'),
style: ElevatedButton.styleFrom(
primary: Colors.red,
textStyle: TextStyle(
color: Colors.white,
fontSize: 16.0,
),
),
),
ElevatedButton(
onPressed: () {},
child: Text('CONFIRM'),
style: ElevatedButton.styleFrom(
primary: Colors.green,
textStyle: TextStyle(
color: Colors.white,
fontSize: 16.0,
),
),
),
],
),
],

You might also like