scaffoldOrNull property Null safety

ScaffoldState? scaffoldOrNull

Shortcut for Scaffold.maybeOf(context).

Implementation

ScaffoldState? get scaffoldOrNull => Scaffold.maybeOf(this);