createController static method

DbLensController createController({
  1. DbLensConfig? config,
})

Buat controller headless untuk UI custom (lewat DbLensControllerScope) atau untuk dipakai bersama buildPanel.

Implementation

static DbLensController createController({DbLensConfig? config}) {
  return DbLensController(
    repository: _repository,
    config: config ?? const DbLensConfig(),
  );
}