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
9cb0b21e
Unverified
Commit
9cb0b21e
authored
Aug 10, 2018
by
Mikkel Nygaard Ravn
Committed by
GitHub
Aug 10, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos (#20417)
parent
96326d47
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
23 additions
and
23 deletions
+23
-23
animations.dart
packages/flutter/lib/src/animation/animations.dart
+1
-1
serialization.dart
packages/flutter/lib/src/foundation/serialization.dart
+1
-1
material_localizations.dart
...ages/flutter/lib/src/material/material_localizations.dart
+1
-1
alignment.dart
packages/flutter/lib/src/painting/alignment.dart
+4
-4
decoration_image.dart
packages/flutter/lib/src/painting/decoration_image.dart
+1
-1
shifted_box.dart
packages/flutter/lib/src/rendering/shifted_box.dart
+2
-2
animated_list.dart
packages/flutter/lib/src/widgets/animated_list.dart
+1
-1
fade_in_image.dart
packages/flutter/lib/src/widgets/fade_in_image.dart
+2
-2
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+1
-1
image.dart
packages/flutter/lib/src/widgets/image.dart
+2
-2
localizations.dart
packages/flutter/lib/src/widgets/localizations.dart
+7
-7
No files found.
packages/flutter/lib/src/animation/animations.dart
View file @
9cb0b21e
...
...
@@ -369,7 +369,7 @@ class CurvedAnimation extends Animation<double> with AnimationWithParentMixin<do
///
/// The curve direction is only reset when we hit the beginning or the end of
/// the timeline to avoid discontinuities in the value of any variables this
/// a
a
nimation is used to animate.
/// animation is used to animate.
AnimationStatus
_curveDirection
;
void
_updateCurveDirection
(
AnimationStatus
status
)
{
...
...
packages/flutter/lib/src/foundation/serialization.dart
View file @
9cb0b21e
...
...
@@ -65,7 +65,7 @@ class WriteBuffer {
_buffer
.
addAll
(
list
);
}
/// Write all the values from a [Int32List] into the buffer.
/// Write all the values from a
n
[Int32List] into the buffer.
void
putInt32List
(
Int32List
list
)
{
_alignTo
(
4
);
_buffer
.
addAll
(
list
.
buffer
.
asUint8List
(
list
.
offsetInBytes
,
4
*
list
.
length
));
...
...
packages/flutter/lib/src/material/material_localizations.dart
View file @
9cb0b21e
...
...
@@ -138,7 +138,7 @@ abstract class MaterialLocalizations {
/// Label read out by accessibility tools (TalkBack or VoiceOver) for a modal
/// barrier to indicate that a tap dismisses the barrier.
///
/// A modal barrier can for example be found behind a alert or popup to block
/// A modal barrier can for example be found behind a
n
alert or popup to block
/// user interaction with elements behind it.
String
get
modalBarrierDismissLabel
;
...
...
packages/flutter/lib/src/painting/alignment.dart
View file @
9cb0b21e
...
...
@@ -14,7 +14,7 @@ import 'basic_types.dart';
/// A property or argument of this type accepts classes created either with [new
/// Alignment] and its variants, or [new AlignmentDirectional].
///
/// To convert a
[AlignmentGeometry] object of indeterminate type into a
/// To convert a
n [AlignmentGeometry] object of indeterminate type into an
/// [Alignment] object, call the [resolve] method.
@immutable
abstract
class
AlignmentGeometry
{
...
...
@@ -115,7 +115,7 @@ abstract class AlignmentGeometry {
);
}
/// Convert this instance into a [Alignment], which uses literal
/// Convert this instance into a
n
[Alignment], which uses literal
/// coordinates (the `x` coordinate being explicitly a distance from the
/// left).
///
...
...
@@ -173,7 +173,7 @@ abstract class AlignmentGeometry {
/// A variety of widgets use [Alignment] in their configuration, most
/// notably:
///
/// * [Align] positions a child according to a [Alignment].
/// * [Align] positions a child according to a
n
[Alignment].
///
/// See also:
///
...
...
@@ -414,7 +414,7 @@ class AlignmentDirectional extends AlignmentGeometry {
/// than -1.0 represent positions beyond the start edge, and values greater than
/// 1.0 represent positions beyond the end edge.
///
/// This value is normalized into a [Alignment.x] value by the [resolve]
/// This value is normalized into a
n
[Alignment.x] value by the [resolve]
/// method.
final
double
start
;
...
...
packages/flutter/lib/src/painting/decoration_image.dart
View file @
9cb0b21e
...
...
@@ -71,7 +71,7 @@ class DecorationImage {
/// How to align the image within its bounds.
///
/// The alignment aligns the given position in the image to the given position
/// in the layout bounds. For example, a [Alignment] alignment of (-1.0,
/// in the layout bounds. For example, a
n
[Alignment] alignment of (-1.0,
/// -1.0) aligns the image to the top-left corner of its layout bounds, while a
/// [Alignment] alignment of (1.0, 1.0) aligns the bottom right of the
/// image with the bottom right corner of its layout bounds. Similarly, an
...
...
packages/flutter/lib/src/rendering/shifted_box.dart
View file @
9cb0b21e
...
...
@@ -267,7 +267,7 @@ abstract class RenderAligningShiftedBox extends RenderShiftedBox {
/// For example, a value of 0.0 means that the center of the child is aligned
/// with the center of the parent.
///
/// If this is set to a [AlignmentDirectional] object, then
/// If this is set to a
n
[AlignmentDirectional] object, then
/// [textDirection] must not be null.
AlignmentGeometry
get
alignment
=>
_alignment
;
AlignmentGeometry
_alignment
;
...
...
@@ -322,7 +322,7 @@ abstract class RenderAligningShiftedBox extends RenderShiftedBox {
}
}
/// Positions its child using a [AlignmentGeometry].
/// Positions its child using a
n
[AlignmentGeometry].
///
/// For example, to align a box at the bottom right, you would pass this box a
/// tight constraint that is bigger than the child's natural size,
...
...
packages/flutter/lib/src/widgets/animated_list.dart
View file @
9cb0b21e
...
...
@@ -166,7 +166,7 @@ class AnimatedList extends StatefulWidget {
if
(
nullOk
||
result
!=
null
)
return
result
;
throw
new
FlutterError
(
'AnimatedList.of() called with a context that does not contain a AnimatedList.
\n
'
'AnimatedList.of() called with a context that does not contain a
n
AnimatedList.
\n
'
'No AnimatedList ancestor could be found starting from the context that was passed to AnimatedList.of(). '
'This can happen when the context provided is from the same StatefulWidget that '
'built the AnimatedList. Please see the AnimatedList documentation for examples '
...
...
packages/flutter/lib/src/widgets/fade_in_image.dart
View file @
9cb0b21e
...
...
@@ -242,8 +242,8 @@ class FadeInImage extends StatefulWidget {
/// How to align the image within its bounds.
///
/// The alignment aligns the given position in the image to the given position
/// in the layout bounds. For example, a [Alignment] alignment of (-1.0,
/// -1.0) aligns the image to the top-left corner of its layout bounds, while a
/// in the layout bounds. For example, a
n
[Alignment] alignment of (-1.0,
/// -1.0) aligns the image to the top-left corner of its layout bounds, while a
n
/// [Alignment] alignment of (1.0, 1.0) aligns the bottom right of the
/// image with the bottom right corner of its layout bounds. Similarly, an
/// alignment of (0.0, 1.0) aligns the bottom middle of the image with the
...
...
packages/flutter/lib/src/widgets/framework.dart
View file @
9cb0b21e
...
...
@@ -4025,7 +4025,7 @@ class ParentDataElement<T extends RenderObjectWidget> extends ProxyElement {
}
}
/// An [Element] that uses a [InheritedWidget] as its configuration.
/// An [Element] that uses a
n
[InheritedWidget] as its configuration.
class
InheritedElement
extends
ProxyElement
{
/// Creates an element that uses the given widget as its configuration.
InheritedElement
(
InheritedWidget
widget
)
:
super
(
widget
);
...
...
packages/flutter/lib/src/widgets/image.dart
View file @
9cb0b21e
...
...
@@ -456,8 +456,8 @@ class Image extends StatefulWidget {
/// How to align the image within its bounds.
///
/// The alignment aligns the given position in the image to the given position
/// in the layout bounds. For example, a [Alignment] alignment of (-1.0,
/// -1.0) aligns the image to the top-left corner of its layout bounds, while a
/// in the layout bounds. For example, a
n
[Alignment] alignment of (-1.0,
/// -1.0) aligns the image to the top-left corner of its layout bounds, while a
n
/// [Alignment] alignment of (1.0, 1.0) aligns the bottom right of the
/// image with the bottom right corner of its layout bounds. Similarly, an
/// alignment of (0.0, 1.0) aligns the bottom middle of the image with the
...
...
packages/flutter/lib/src/widgets/localizations.dart
View file @
9cb0b21e
...
...
@@ -187,10 +187,10 @@ class _WidgetsLocalizationsDelegate extends LocalizationsDelegate<WidgetsLocaliz
///
/// See also:
///
///
* [GlobalWidgetsLocalizations], which provides widgets localizations for
///
many languages.
///
* [WidgetsApp.delegates], which automatically includes
///
[DefaultWidgetsLocalizations.delegate] by default.
/// * [GlobalWidgetsLocalizations], which provides widgets localizations for
/// many languages.
/// * [WidgetsApp.delegates], which automatically includes
/// [DefaultWidgetsLocalizations.delegate] by default.
class
DefaultWidgetsLocalizations
implements
WidgetsLocalizations
{
/// Construct an object that defines the localized values for the widgets
/// library for US English (only).
...
...
@@ -257,9 +257,9 @@ class _LocalizationsScope extends InheritedWidget {
/// @override
/// Future<MyLocalizations> load(Locale locale) => MyLocalizations.load(locale);
///
/// @override
/// bool shouldReload(MyLocalizationsDelegate old) => false;
///}
///
@override
///
bool shouldReload(MyLocalizationsDelegate old) => false;
///
}
/// ```
///
/// Each delegate can be viewed as a factory for objects that encapsulate a
...
...
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