Budgeted<W extends Widget> constructor

Budgeted<W extends Widget>({
  1. required W child,
  2. WidgetDegradationPriority priority = WidgetDegradationPriority.essential,
  3. bool focusBoost = false,
  4. bool stale = false,
  5. Key? key,
})

Creates a render-budget wrapper around child.

Implementation

Budgeted({
  required this.child,
  this.priority = WidgetDegradationPriority.essential,
  this.focusBoost = false,
  this.stale = false,
  super.key,
});