ShowNode constructor

const ShowNode(
  1. bool when(), {
  2. required BloomNode child,
  3. BloomNode? fallback,
  4. String? hotReloadScopeId,
})

Creates a conditional rendering descriptor with predicate when, primary child, and optional fallback.

Implementation

const ShowNode(
  this.when, {
  required this.child,
  this.fallback,
  this.hotReloadScopeId,
});