Fix a missing_return analyzer error in a code example (#33468)
This will fix a failure in dev/bots/analyze-sample-code.dart when using the tip of tree Dart SDK.
This commit is contained in:
parent
d729e70e0c
commit
786d9cee50
@ -35,6 +35,7 @@ import 'will_pop_scope.dart';
|
||||
/// if (value.isEmpty) {
|
||||
/// return 'Please enter some text';
|
||||
/// }
|
||||
/// return null;
|
||||
/// },
|
||||
/// ),
|
||||
/// Padding(
|
||||
|
Loading…
x
Reference in New Issue
Block a user