Docs clarification for how RTL/LTR locale affects ButtonBar (#24264)

This commit is contained in:
Justin McCandless 2018-11-13 09:46:04 -08:00 committed by GitHub
parent 13029ca2e5
commit 1fde4d0366
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,10 +9,14 @@ import 'dialog.dart';
import 'flat_button.dart';
import 'raised_button.dart';
/// A horizontal arrangement of buttons.
/// An end-aligned row of buttons.
///
/// Places the buttons horizontally according to the padding in the current
/// [ButtonTheme].
/// [ButtonTheme]. The children are laid out in a [Row] with
/// [MainAxisAlignment.end]. When the [Directionality] is [TextDirection.ltr],
/// the button bar's children are right justified and the last child becomes
/// the rightmost child. When the [Directionality] [TextDirection.rtl] the
/// children are left justified and the last child becomes the leftmost child.
///
/// Used by [Dialog] to arrange the actions at the bottom of the dialog.
///