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; } }