import 'package:diplomaticquarterapp/core/viewModels/project_view_model.dart'; import 'package:diplomaticquarterapp/models/Appointments/DoctorListResponse.dart'; import 'package:diplomaticquarterapp/models/MyInvoices/GetDentalAppointmentsResponse.dart'; import 'package:diplomaticquarterapp/pages/BookAppointment/widgets/DoctorView.dart'; import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart'; import 'package:diplomaticquarterapp/widgets/others/app_scaffold_widget.dart'; import 'package:flutter/material.dart'; import 'package:provider/provider.dart'; class InvoiceDetail extends StatelessWidget { final DoctorList doctor; final ListDentalAppointments listDentalAppointments; InvoiceDetail(this.doctor, this.listDentalAppointments); @override Widget build(BuildContext context) { ProjectViewModel projectViewModel = Provider.of(context); return AppScaffold( appBarTitle: TranslationBase.of(context).myInvoice, isShowAppBar: true, isShowDecPage: false, body: Container( child: Column( children: [ DoctorView(doctor: doctor, isLiveCareAppointment: false, isShowFlag: false), Container( margin: EdgeInsets.only(top: 10.0, left: 10.0, right: 10.0), padding: EdgeInsets.only(top: 10.0, left: 10.0, right: 10.0, bottom: 10.0), decoration: BoxDecoration( color: Colors.grey[800], borderRadius: BorderRadius.only( topLeft: Radius.circular(8), topRight: Radius.circular(8), ), ), child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Text("Description", style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold)), Text("Quantity", style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold)), Text("Price", style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold)), Text("Total", style: TextStyle(color: Colors.white, fontWeight: FontWeight.bold)), ], ), ), ], ), )); } }