NiceBenchmarkedWidget constructor

const NiceBenchmarkedWidget({
  1. Key? key,
  2. required String name,
  3. required Widget child,
  4. void onBuildComplete(
    1. Duration buildTime
    )?,
  5. bool enabled = kDebugMode,
})

Implementation

const NiceBenchmarkedWidget({
  super.key,
  required this.name,
  required this.child,
  this.onBuildComplete,
  this.enabled = kDebugMode,
});