createHistoryController static method
Create a history controller for DbLensHistoryPanel / DbLensHistorySheet.
Implementation
static DbLensHistoryController createHistoryController() {
return DbLensHistoryController(
historyRepository: _historyRepository,
isTrackingEnabled: () => _registry.enableHistory,
configureTracking: ({bool? enabled}) =>
_registry.configureHistory(enabled: enabled),
);
}