Skip to content

Commit 9af844c

Browse files
Fix minor issues in documentation of WidgetsApp (#163942)
Co-authored-by: Victor Sanni <victorsanniay@gmail.com>
1 parent 99e1a06 commit 9af844c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/flutter/lib/src/widgets

packages/flutter/lib/src/widgets/app.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ class WidgetsApp extends StatefulWidget {
296296
/// _must_ contain an entry for `'/'`.
297297
///
298298
/// If [home] or [routes] are not null, the routing implementation needs to know how
299-
/// appropriately build [PageRoute]s. This can be achieved by supplying the
299+
/// to appropriately build [PageRoute]s. This can be achieved by supplying the
300300
/// [pageRouteBuilder] parameter. The [pageRouteBuilder] is used by [MaterialApp]
301301
/// and [CupertinoApp] to create [MaterialPageRoute]s and [CupertinoPageRoute],
302302
/// respectively.
@@ -305,7 +305,7 @@ class WidgetsApp extends StatefulWidget {
305305
/// content of the app in some other widget. It is recommended that you use [home]
306306
/// rather than [builder] if you intend to only display a single route in your app.
307307
///
308-
/// [WidgetsApp] is also possible to provide a custom implementation of routing via the
308+
/// [WidgetsApp] is also able to provide a custom implementation of routing via the
309309
/// [onGenerateRoute] and [onUnknownRoute] parameters. These parameters correspond
310310
/// to [Navigator.onGenerateRoute] and [Navigator.onUnknownRoute]. If [home], [routes],
311311
/// and [builder] are null, or if they fail to create a requested route,

0 commit comments

Comments
 (0)