Launching lib/main.dart on Chrome in debug mode...
Waiting for connection from debug service on Chrome...
../../../../.pub-cache/hosted/pub.dartlang.org/readmore-1.0.1/lib/readmore.dart:82:58: Error: No named parameter with the name 'nullOk'.
widget.locale ?? Localizations.localeOf(context, nullOk: true);
^^^^^^
../../../sdk/flutter/packages/flutter/lib/src/widgets/localizations.dart:413:17: Context: Found this candidate, but the arguments don't match.
static Locale localeOf(BuildContext context) {
^^^^^^^^
Failed to compile application.
Error:
Flutter localization API update commit
Now, should use
maybeLocaleOf
method, notlocaleOf
, if u want to get locale safety.