UiSpec constructor

const UiSpec({
  1. required UiNode root,
  2. Map<String, String> state = const {},
  3. String? title,
})

Creates a spec.

Implementation

const UiSpec({required this.root, this.state = const {}, this.title});