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.
diplomatic-quarter/lib/pages/MyAppointments/models/BookedButtons.dart

61 lines
1.6 KiB
Dart

import 'package:diplomaticquarterapp/uitl/translations_delegate_base.dart';
class BookedButtons {
static var context;
static var buttons = [
{
"title": TranslationBase.of(context).confirm,
"subtitle": TranslationBase.of(context).appointment,
"icon": "assets/images/new-design/confirm_icon.png",
"caller": "confirmAppointment"
},
// {
// "title": "confirm",
// "subtitle": "Appointment",
// "icon": "assets/images/new-design/confirm_icon.png",
// "caller": "confirmAppointment"
// },
{
"title": "reschedule",
"subtitle": "appointment",
"icon": "assets/images/new-design/reschedule_icon.png",
"caller": "openReschedule"
},
{
"title": "cancel",
"subtitle": "appointment",
"icon": "assets/images/new-design/cancel_icon.png",
"caller": "onCancelAppointment"
},
{
"title": "raise",
"subtitle": "complaint",
"icon": "assets/images/new-design/Complaint_icon.png",
"caller": "insertComplaint"
},
{
"title": "add",
"subtitle": "reminder",
"icon": "assets/images/new-design/reminder_icon.png",
"caller": "addReminder"
},
{
"title": "hospital",
"subtitle": "locations",
"icon": "assets/images/new-design/location_icon.png",
"caller": "navigateToProject"
},
{
"title": "online",
"subtitle": "payment",
"icon": "assets/images/new-design/check-in.png",
"caller": "goToTodoList(31)"
}
];
static setContext(context) {
BookedButtons.context = context;
}
}