buildPanel static method
Widget inspector yang bisa di-embed di widget tree konsumen (mis. tab debug/QA aplikasi sendiri) — tanpa navigasi.
Implementation
static Widget buildPanel({
DbLensConfig? config,
DbLensThemeData? theme,
DbLensController? controller,
}) {
if (kReleaseMode) return const SizedBox.shrink();
final panelConfig = config ?? const DbLensConfig();
return DbLensThemeScope(
theme: DbLensTheme(theme),
child: DbLensPanel(config: panelConfig, controller: controller),
);
}