RoleView constructor

const RoleView({
  1. Key? key,
  2. required List<String> roles,
  3. required Widget child,
  4. Widget? defaultView,
  5. Widget? loading,
})

Implementation

const RoleView(
    {super.key,
    required this.roles,
    required this.child,
    this.defaultView,
    this.loading});