ScreenWidget<C extends ScreenController> constructor

const ScreenWidget<C extends ScreenController>({
  1. Key? key,
  2. BuildContext? context,
})

Use context when you want the widget to be rebuilt after calling the refresh method

Implementation

const ScreenWidget({Key? key, BuildContext? context}) : super(key: key);