DartDeskApp constructor

const DartDeskApp({
  1. Key? key,
  2. required String serverUrl,
  3. required DartDeskConfig config,
  4. required String apiKey,
  5. ShadThemeData? theme,
})

Creates a DartDeskApp with built-in Serverpod IDP authentication.

Handles client creation, sign-in UI (Google + email/password), and wraps the studio UI with auth context.

Implementation

const DartDeskApp({
  super.key,
  required String this.serverUrl,
  required this.config,
  required String this.apiKey,
  this.theme,
}) : dataSource = null,
     onSignOut = null;