Fix error message and other typos (#25126)

This commit is contained in:
Seth Westphal
2019-01-15 21:22:32 -06:00
committed by Michael Goderbauer
parent f3f2d5a1bd
commit 71a15896d8
3 changed files with 4 additions and 4 deletions

View File

@@ -99,8 +99,8 @@ class CupertinoTabBar extends StatelessWidget implements PreferredSizeWidget {
/// The size of all of the [BottomNavigationBarItem] icons.
///
/// This value is used to to configure the [IconTheme] for the navigation
/// bar. When a [BottomNavigationBarItem.icon] widget is not an [Icon] the widget
/// This value is used to configure the [IconTheme] for the navigation bar.
/// When a [BottomNavigationBarItem.icon] widget is not an [Icon] the widget
/// should configure itself to match the icon theme's size and color.
///
/// Must not be null.

View File

@@ -2445,7 +2445,7 @@ class SemanticsOwner extends ChangeNotifier {
/// Describes the semantic information associated with the owning
/// [RenderObject].
///
/// The information provided in the configuration is used to to generate the
/// The information provided in the configuration is used to generate the
/// semantics tree.
class SemanticsConfiguration {

View File

@@ -3924,7 +3924,7 @@ class StatefulElement extends ComponentElement {
'the inherited widget is in a constructor or an initState() method, '
'then the rebuilt dependent widget will not reflect the changes in the '
'inherited widget.\n'
'Typically references to to inherited widgets should occur in widget build() methods. Alternatively, '
'Typically references to inherited widgets should occur in widget build() methods. Alternatively, '
'initialization based on inherited widgets can be placed in the didChangeDependencies method, which '
'is called after initState and whenever the dependencies change thereafter.'
);