Unverified Commit 786d9cee authored by Jason Simmons's avatar Jason Simmons Committed by GitHub

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.
parent d729e70e
...@@ -35,6 +35,7 @@ import 'will_pop_scope.dart'; ...@@ -35,6 +35,7 @@ import 'will_pop_scope.dart';
/// if (value.isEmpty) { /// if (value.isEmpty) {
/// return 'Please enter some text'; /// return 'Please enter some text';
/// } /// }
/// return null;
/// }, /// },
/// ), /// ),
/// Padding( /// Padding(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment