SettingsView constructor

const SettingsView({
  1. Key? key,
  2. Doctor? doctor,
  3. Organization? organization,
  4. BaseAuth? auth,
  5. VoidCallback? logoutCallback,
  6. VoidCallback? profileUpdate1Callback,
})

doctor - The doctor object. organization - The organization object. auth - The authentication service. logoutCallback - Callback function for logout. profileUpdate1Callback - Callback function for profile update 1. profileUpdate2Callback - Callback function for profile update 2.

Implementation

const SettingsView(
    {super.key, this.doctor,
    this.organization,
    this.auth,
    this.logoutCallback,
    this.profileUpdate1Callback,
    // this.profileUpdate2Callback
    });