From 2adb91895c5ef6aad5c27c72734962a2f1513a8d Mon Sep 17 00:00:00 2001 From: TheBiirb <67576036+TheBiirb@users.noreply.github.com> Date: Thu, 24 Sep 2020 18:28:39 +0300 Subject: [PATCH] Fixes typos in showDialog documentation (#66213) * Fixes typos in showDialog documentation --- packages/flutter/lib/src/material/dialog.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/flutter/lib/src/material/dialog.dart b/packages/flutter/lib/src/material/dialog.dart index caadb0a367..17e50a5ad3 100644 --- a/packages/flutter/lib/src/material/dialog.dart +++ b/packages/flutter/lib/src/material/dialog.dart @@ -931,15 +931,15 @@ Widget _buildMaterialDialogTransitions(BuildContext context, Animation a /// barrier will dismiss the dialog. It is `true` by default and can not be `null`. /// /// The `barrierColor` argument is used to specify the color of the modal -/// barrier that darkens everything the dialog. If `null` the default color +/// barrier that darkens everything below the dialog. If `null` the default color /// `Colors.black54` is used. /// /// The `useSafeArea` argument is used to indicate if the dialog should only /// display in 'safe' areas of the screen not used by the operating system -/// (see [SafeArea] for more details). It is `true` by default which will mean +/// (see [SafeArea] for more details). It is `true` by default, which means /// the dialog will not overlap operating system areas. If it is set to `false` -/// the dialog will only be constrained by the screen size. It can not be 'null`. -// +/// the dialog will only be constrained by the screen size. It can not be `null`. +/// /// The `useRootNavigator` argument is used to determine whether to push the /// dialog to the [Navigator] furthest from or nearest to the given `context`. /// By default, `useRootNavigator` is `true` and the dialog route created by