Unverified Commit e1e1c36d authored by Greg Spencer's avatar Greg Spencer Committed by GitHub

Fix showDialog docs (#142458)

## Description

Fixes a paragraph in the `showDialog` docs that had strange placement due to evolution of the docs. Fixed some missing words too.

## Related Issues
 - Fixes https://github.com/flutter/flutter/issues/142097
parent 354803f7
...@@ -1344,6 +1344,11 @@ Widget _buildMaterialDialogTransitions(BuildContext context, Animation<double> a ...@@ -1344,6 +1344,11 @@ Widget _buildMaterialDialogTransitions(BuildContext context, Animation<double> a
/// The `routeSettings` argument is passed to [showGeneralDialog], /// The `routeSettings` argument is passed to [showGeneralDialog],
/// see [RouteSettings] for details. /// see [RouteSettings] for details.
/// ///
/// If not null, the `traversalEdgeBehavior` argument specifies the transfer of
/// focus beyond the first and the last items of the dialog route. By default,
/// [TraversalEdgeBehavior.closedLoop] is used, because it's typical for dialogs
/// to allow users to cycle through dialog widgets without leaving the dialog.
///
/// {@macro flutter.widgets.RawDialogRoute} /// {@macro flutter.widgets.RawDialogRoute}
/// ///
/// If the application has multiple [Navigator] objects, it may be necessary to /// If the application has multiple [Navigator] objects, it may be necessary to
...@@ -1382,12 +1387,6 @@ Widget _buildMaterialDialogTransitions(BuildContext context, Animation<double> a ...@@ -1382,12 +1387,6 @@ Widget _buildMaterialDialogTransitions(BuildContext context, Animation<double> a
/// ///
/// {@macro flutter.widgets.RestorationManager} /// {@macro flutter.widgets.RestorationManager}
/// ///
/// If not null, `traversalEdgeBehavior` argument specifies the transfer of
/// focus beyond the first and the last items of the dialog route. By default,
/// uses [TraversalEdgeBehavior.closedLoop], because it's typical for dialogs
/// to allow users to cycle through widgets inside it without leaving the
/// dialog.
///
/// ** See code in examples/api/lib/material/dialog/show_dialog.2.dart ** /// ** See code in examples/api/lib/material/dialog/show_dialog.2.dart **
/// {@end-tool} /// {@end-tool}
/// ///
......
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