MastroView<T extends MastroBox<MastroEvent>> constructor

const MastroView<T extends MastroBox<MastroEvent>>({
  1. Key? key,
  2. T? box,
})

Creates a MastroView with an optional box instance.

Implementation

const MastroView({super.key, T? box}) : _box = box;