Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
19227a99
Unverified
Commit
19227a99
authored
Oct 31, 2017
by
Yegor
Committed by
GitHub
Oct 31, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix miscellaneous typos in dartdocs (#12801)
* fix miscellaneous typos in dartdocs * moar typos
parent
cb2cfac0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
grid_tile_bar.dart
packages/flutter/lib/src/material/grid_tile_bar.dart
+1
-1
viewport.dart
packages/flutter/lib/src/rendering/viewport.dart
+1
-1
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+5
-5
scroll_position.dart
packages/flutter/lib/src/widgets/scroll_position.dart
+1
-1
scroll_view.dart
packages/flutter/lib/src/widgets/scroll_view.dart
+2
-2
sliver.dart
packages/flutter/lib/src/widgets/sliver.dart
+1
-1
No files found.
packages/flutter/lib/src/material/grid_tile_bar.dart
View file @
19227a99
...
...
@@ -12,7 +12,7 @@ import 'theme.dart';
/// Typically used to add a one or two line header or footer on a [GridTile].
///
/// For a one-line header, include a [title] widget. To add a second line, also
/// include a [subtitle] wiget. Use [leading] or [trailing] to add an icon.
/// include a [subtitle] wi
d
get. Use [leading] or [trailing] to add an icon.
///
/// See also:
///
...
...
packages/flutter/lib/src/rendering/viewport.dart
View file @
19227a99
...
...
@@ -599,7 +599,7 @@ abstract class RenderViewportBase<ParentDataClass extends ContainerParentDataMix
/// `child`.
///
/// See also [computeAbsolutePaintOffset], which computes the paint offset
/// from an explict layout offset and growth direction instead of using the
/// from an explic
i
t layout offset and growth direction instead of using the
/// values computed for the child during layout.
@protected
Offset
paintOffsetOf
(
RenderSliver
child
);
...
...
packages/flutter/lib/src/widgets/framework.dart
View file @
19227a99
...
...
@@ -77,7 +77,7 @@ abstract class LocalKey extends Key {
///
/// See also the discussion at [Widget.key].
class
ValueKey
<
T
>
extends
LocalKey
{
/// Creates a key that delgates its [operator==] to the given value.
/// Creates a key that del
e
gates its [operator==] to the given value.
const
ValueKey
(
this
.
value
);
/// The value to which this key delegates its [operator==]
...
...
@@ -302,7 +302,7 @@ abstract class GlobalKey<T extends State<StatefulWidget>> extends Key {
///
/// The current state is null if (1) there is no widget in the tree that
/// matches this global key, (2) that widget is not a [StatefulWidget], or the
/// asso
ic
ated [State] object is not a subtype of `T`.
/// asso
ci
ated [State] object is not a subtype of `T`.
T
get
currentState
{
final
Element
element
=
_currentElement
;
if
(
element
is
StatefulElement
)
{
...
...
@@ -930,7 +930,7 @@ typedef void StateSetter(VoidCallback fn);
/// update the [widget] property to refer to the new widget and then call the
/// [didUpdateWidget] method with the previous widget as an argument. [State]
/// objects should override [didUpdateWidget] to respond to changes in their
/// associated wiget (e.g., to start implicit animations). The framework
/// associated wi
d
get (e.g., to start implicit animations). The framework
/// always calls [build] after calling [didUpdateWidget], which means any
/// calls to [setState] in [didUpdateWidget] are redundant.
/// * If the subtree containing the [State] object is removed from the tree
...
...
@@ -3796,7 +3796,7 @@ class StatefulElement extends ComponentElement {
}
}
/// An [Element] that uses a [Proxy
Elemen
t] as its configuration.
/// An [Element] that uses a [Proxy
Widge
t] as its configuration.
abstract
class
ProxyElement
extends
ComponentElement
{
/// Initializes fields for subclasses.
ProxyElement
(
ProxyWidget
widget
)
:
super
(
widget
);
...
...
@@ -3819,7 +3819,7 @@ abstract class ProxyElement extends ComponentElement {
rebuild
();
}
/// Notify other objects that the wiget associated with this element has changed.
/// Notify other objects that the wi
d
get associated with this element has changed.
///
/// Called during [update] after changing the widget associated with this
/// element but before rebuilding this element.
...
...
packages/flutter/lib/src/widgets/scroll_position.dart
View file @
19227a99
...
...
@@ -557,7 +557,7 @@ abstract class ScrollPosition extends ViewportOffset with ScrollMetrics {
/// If the argument is null, this method has no effect. This is convenient for
/// cases where the new activity is obtained from another method, and that
/// method might return null, since it means the caller does not have to
/// explictly null-check the argument.
/// explic
i
tly null-check the argument.
void
beginActivity
(
ScrollActivity
newActivity
)
{
if
(
newActivity
==
null
)
return
;
...
...
packages/flutter/lib/src/widgets/scroll_view.dart
View file @
19227a99
...
...
@@ -335,7 +335,7 @@ class CustomScrollView extends ScrollView {
List
<
Widget
>
buildSlivers
(
BuildContext
context
)
=>
slivers
;
}
/// A [ScrollView] uses a single child layout model.
/// A [ScrollView]
that
uses a single child layout model.
///
/// See also:
///
...
...
@@ -402,7 +402,7 @@ abstract class BoxScrollView extends ScrollView {
///
/// There are three options for constructing a [ListView]:
///
/// 1. The default const
uctor takes an explic
t [List<Widget>] of children. This
/// 1. The default const
ructor takes an explici
t [List<Widget>] of children. This
/// constructor is appropriate for list views with a small number of
/// children because constructing the [List] requires doing work for every
/// child that could possibly be displayed in the list view instead of just
...
...
packages/flutter/lib/src/widgets/sliver.dart
View file @
19227a99
...
...
@@ -25,7 +25,7 @@ export 'package:flutter/rendering.dart' show
///
/// It's uncommon to subclass [SliverChildDelegate]. Instead, consider using one
/// of the existing subclasses that provide adaptors to builder callbacks or
/// explict child lists.
/// explic
i
t child lists.
///
/// See also:
///
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment