ViamRefreshableDataTable constructor

const ViamRefreshableDataTable({
  1. Key? key,
  2. required FutureOr<Map<String, dynamic>> getData({
    1. Map<String, dynamic>? extra,
    }),
  3. Duration? refreshInterval = const Duration(seconds: 1),
  4. bool showLastRefreshed = true,
  5. bool showRefreshControls = true,
})

Implementation

const ViamRefreshableDataTable({
  super.key,
  required this.getData,
  this.refreshInterval = const Duration(seconds: 1),
  this.showLastRefreshed = true,
  this.showRefreshControls = true,
});