ShowNode constructor

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

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

Implementation

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