BasicWidget<T extends State<StatefulWidget>> constructor

const BasicWidget<T extends State<StatefulWidget>>({
  1. Key? key,
  2. required LiveController liveController,
})

Dependency injection currently uses the constructor injection, which can be optimized later

Implementation

const BasicWidget({super.key, required this.liveController});