ScreenTemplate constructor Null safety

const ScreenTemplate(
  1. {Key? key,
  2. required Widget body,
  3. required String appBarTitle,
  4. List<Widget>? actions,
  5. bool showDrawer = true}
)

Implementation

const ScreenTemplate(
    {Key? key,
    required this.body,
    required this.appBarTitle,
    this.actions,
    this.showDrawer = true})
    : super(key: key);