build method Null safety

  1. @override
Widget build(
  1. BuildContext context,
  2. AsyncSnapshot<T> currentSummary
)
override

Returns a Widget based on the currentSummary.

Implementation

@override
Widget build(BuildContext context, AsyncSnapshot<T> currentSummary) => builder(context, currentSummary);