You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
car_provider_app/lib/views/appoinments/update_appointment_page.dart

58 lines
1.8 KiB
Dart

import 'package:car_provider_app/views/appoinments/widget/appointment_detail_list_widget.dart';
import 'package:flutter/material.dart';
import 'package:mc_common_app/extensions/int_extensions.dart';
import 'package:mc_common_app/widgets/button/show_fill_button.dart';
import 'package:mc_common_app/widgets/common_widgets/app_bar.dart';
class UpdateAppointmentPage extends StatelessWidget {
const UpdateAppointmentPage({Key? key}) : super(key: key);
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: const CustomAppBar(
title: "Update Appointment",
),
body: SizedBox(
width: double.infinity,
height: double.infinity,
child: Column(
children: [
Expanded(
child: ListView(
padding: const EdgeInsets.all(21),
children: [
AppointmentDetailListWidget(
isNeedClick: false,
),
],
),
),
Padding(
padding: const EdgeInsets.all(21.0),
child: Row(
children: [
Expanded(
child: ShowFillButton(
title: "Cancel",
maxWidth: double.infinity,
onPressed: () {},
),
),
21.width,
Expanded(
child: ShowFillButton(
title: "Merge Appointments",
maxWidth: double.infinity,
onPressed: () {},
),
),
],
),
),
],
)),
);
}
}