Commit 71a15896 authored by Seth Westphal's avatar Seth Westphal Committed by Michael Goderbauer

Fix error message and other typos (#25126)

parent f3f2d5a1
...@@ -99,8 +99,8 @@ class CupertinoTabBar extends StatelessWidget implements PreferredSizeWidget { ...@@ -99,8 +99,8 @@ class CupertinoTabBar extends StatelessWidget implements PreferredSizeWidget {
/// The size of all of the [BottomNavigationBarItem] icons. /// The size of all of the [BottomNavigationBarItem] icons.
/// ///
/// This value is used to to configure the [IconTheme] for the navigation /// This value is used to configure the [IconTheme] for the navigation bar.
/// bar. When a [BottomNavigationBarItem.icon] widget is not an [Icon] the widget /// When a [BottomNavigationBarItem.icon] widget is not an [Icon] the widget
/// should configure itself to match the icon theme's size and color. /// should configure itself to match the icon theme's size and color.
/// ///
/// Must not be null. /// Must not be null.
......
...@@ -2445,7 +2445,7 @@ class SemanticsOwner extends ChangeNotifier { ...@@ -2445,7 +2445,7 @@ class SemanticsOwner extends ChangeNotifier {
/// Describes the semantic information associated with the owning /// Describes the semantic information associated with the owning
/// [RenderObject]. /// [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. /// semantics tree.
class SemanticsConfiguration { class SemanticsConfiguration {
......
...@@ -3924,7 +3924,7 @@ class StatefulElement extends ComponentElement { ...@@ -3924,7 +3924,7 @@ class StatefulElement extends ComponentElement {
'the inherited widget is in a constructor or an initState() method, ' 'the inherited widget is in a constructor or an initState() method, '
'then the rebuilt dependent widget will not reflect the changes in the ' 'then the rebuilt dependent widget will not reflect the changes in the '
'inherited widget.\n' '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 ' 'initialization based on inherited widgets can be placed in the didChangeDependencies method, which '
'is called after initState and whenever the dependencies change thereafter.' 'is called after initState and whenever the dependencies change thereafter.'
); );
......
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