scaffold method Null safety

Widget scaffold(
  1. {required String title,
  2. required Widget body}
)

Material design Adaptive

Implementation

static Widget scaffold({required String title, required Widget body}) {
  return (_isIos())
      ? _iosScaffold(title, body)
      : _androidScaffold(title, body);
}