utils/service_agreement_dialog library

Classes

ServiceAgreementDialog
Dialog that allows a user to view and edit the service agreement details of a device.

Functions

showAndUpdateServiceAgreement({required BuildContext context, required int deviceId}) Future<void>
Show the service agreement dialog and update the service agreement details of a device based on the input provided by the user.
showServiceAgreementDialog({required BuildContext context, required int deviceId}) Future<ServiceAgreementFormData?>
Show the service agreement dialog. Returns the updated service agreement details chosen by the user.