Fix a couple of doc typos. (#60139)

This commit is contained in:
Darren Austin
2020-06-23 17:58:01 -07:00
committed by GitHub
parent dd49e57be2
commit b946e30c3d
2 changed files with 2 additions and 2 deletions

View File

@@ -953,7 +953,7 @@ class DropdownButton<T> extends StatefulWidget {
/// menu that appears when you tap the button.
///
/// To use a separate text style for selected item when it's displayed within
/// the dropdown button,, consider using [selectedItemBuilder].
/// the dropdown button, consider using [selectedItemBuilder].
///
/// {@tool dartpad --template=stateful_widget_scaffold}
///

View File

@@ -135,7 +135,7 @@ class DecorationImage {
/// Defines image pixels to be shown per logical pixels.
///
/// By default the the value of scale is 1.0. The scale for the image is
/// By default the value of scale is 1.0. The scale for the image is
/// calculated by multiplying [scale] with `scale` of the given [ImageProvider].
final double scale;