fixed issue api related

This commit is contained in:
2025-03-01 18:47:26 +05:30
parent 0904abf774
commit 5ed75e2aef
5 changed files with 27 additions and 28 deletions

BIN
.DS_Store vendored

Binary file not shown.

View File

@@ -998,7 +998,7 @@
"languageVersion": "3.4"
}
],
"generated": "2025-02-27T10:55:41.147060Z",
"generated": "2025-03-01T13:17:00.413477Z",
"generator": "pub",
"generatorVersion": "3.4.4",
"flutterRoot": "file:///Users/rajeevsingh/Documents/allSoftwares/flutter",

File diff suppressed because one or more lines are too long

View File

@@ -35,7 +35,7 @@ class _OrderDetailsScreenState extends State<OrderDetailsScreen> {
return Scaffold(
appBar: AppBar(title: Text('Order Details')),
body: Padding(
padding: const EdgeInsets.all(8.0),
padding: const EdgeInsets.all(2.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
@@ -151,7 +151,7 @@ class _OrderDetailsScreenState extends State<OrderDetailsScreen> {
SizedBox(width: 5),
AnimatedContainer(
duration: Duration(milliseconds: 500),
width: 20,
width: 15,
height: 3,
color: isCompleted ? Colors.green : Colors.grey,
),

View File

@@ -142,6 +142,7 @@ class _MyOrderScreenState extends State<MyOrderScreen> {
],
),
Spacer(),
// Container(
// padding: EdgeInsets.symmetric(
// horizontal: 5, vertical: 5),
@@ -166,27 +167,27 @@ class _MyOrderScreenState extends State<MyOrderScreen> {
TextStyle(fontWeight: FontWeight.bold)),
Row(
children: [
ElevatedButton(
onPressed: () {},
style: ElevatedButton.styleFrom(
backgroundColor: Colors.white,
side: BorderSide(color: Colors.green),
shape: RoundedRectangleBorder(
borderRadius:
BorderRadius.circular(10),
),
),
child: Row(
children: [
Icon(Icons.message,
color: Colors.green),
SizedBox(width: 5),
Text('Message',
style: TextStyle(
color: Colors.green)),
],
),
),
// ElevatedButton(
// onPressed: () {},
// style: ElevatedButton.styleFrom(
// backgroundColor: Colors.white,
// side: BorderSide(color: Colors.green),
// shape: RoundedRectangleBorder(
// borderRadius:
// BorderRadius.circular(10),
// ),
// ),
// child: Row(
// children: [
// // Icon(Icons.message,
// // color: Colors.green),
// // SizedBox(width: 5),
// // Text('Message',
// // style: TextStyle(
// // color: Colors.green)),
// ],
// ),
// ),
SizedBox(width: 10),
ElevatedButton(
onPressed: () {
@@ -229,9 +230,7 @@ class _MyOrderScreenState extends State<MyOrderScreen> {
);
}
Future<void> _makePhoneCall(String number) async
{
Future<void> _makePhoneCall(String number) async {
try {
final Uri phoneUri = Uri(scheme: 'tel', path: number);
if (await canLaunchUrl(phoneUri)) {