MountNode constructor

const MountNode(
  1. BloomNode child, {
  2. void onMount()?,
  3. void onUnmount()?,
  4. String? hotReloadScopeId,
})

Creates a lifecycle boundary descriptor wrapping child with optional onMount and onUnmount.

Implementation

const MountNode(this.child,
    {this.onMount, this.onUnmount, this.hotReloadScopeId});