Actions.maybeInvoke

AnimatedList.maybeOf

SliverAnimatedList.maybeOf

CupertinoDynamicColor.maybeResolve

CupertinoUserInterfaceLevel.maybeOf

CupertinoTheme.maybeBrightnessOf

Migration guide

In order to modify your code to use the new form of the APIs, convert all
instances of calls that include nullOk = true as a parameter to use the
maybe form of the API instead.

So this:

MediaQueryData

data

MediaQuery

of

context

nullOk:

true

);

becomes:

MediaQueryData

data

MediaQuery

maybeOf

context

);