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
438f4df0
Commit
438f4df0
authored
Nov 01, 2016
by
Chris Bracken
Committed by
GitHub
Nov 01, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve comment spelling consistency (#6622)
parent
5f57d87a
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
12 deletions
+12
-12
painting.dart
packages/flutter/lib/painting.dart
+1
-1
constants.dart
packages/flutter/lib/src/gestures/constants.dart
+1
-1
recognizer.dart
packages/flutter/lib/src/gestures/recognizer.dart
+2
-2
ink_well.dart
packages/flutter/lib/src/material/ink_well.dart
+1
-1
friction_simulation.dart
packages/flutter/lib/src/physics/friction_simulation.dart
+1
-1
box.dart
packages/flutter/lib/src/rendering/box.dart
+1
-1
binding.dart
packages/flutter/lib/src/scheduler/binding.dart
+1
-1
framework.dart
packages/flutter/lib/src/widgets/framework.dart
+2
-2
gesture_detector.dart
packages/flutter/lib/src/widgets/gesture_detector.dart
+2
-2
No files found.
packages/flutter/lib/painting.dart
View file @
438f4df0
...
...
@@ -7,7 +7,7 @@
/// To use, import `package:flutter/painting.dart`.
///
/// This library includes a variety of classes that wrap the Flutter
/// engine's painting API for more speciali
s
ed purposes, such as painting scaled
/// engine's painting API for more speciali
z
ed purposes, such as painting scaled
/// images, interpolating between shadows, painting borders around boxes, etc.
///
/// In particular:
...
...
packages/flutter/lib/src/gestures/constants.dart
View file @
438f4df0
...
...
@@ -11,7 +11,7 @@ const Duration kPressTimeout = const Duration(milliseconds: 100);
/// Maximum length of time between a tap down and a tap up for the gesture to be
/// considered a tap. (Currently not honored by the TapGestureRecognizer.)
// TODO(ianh): Remove this, or implement a hover-tap gesture recogni
s
er which
// TODO(ianh): Remove this, or implement a hover-tap gesture recogni
z
er which
// uses this.
const
Duration
kHoverTapTimeout
=
const
Duration
(
milliseconds:
150
);
...
...
packages/flutter/lib/src/gestures/recognizer.dart
View file @
438f4df0
...
...
@@ -43,7 +43,7 @@ abstract class GestureRecognizer extends GestureArenaMember {
///
/// This method is called by the owner of this gesture recognizer
/// when the object is no longer needed (e.g. when a gesture
/// recogni
s
er is being unregistered from a [GestureDetector], the
/// recogni
z
er is being unregistered from a [GestureDetector], the
/// GestureDetector widget calls this method).
@mustCallSuper
void
dispose
()
{
}
...
...
@@ -178,7 +178,7 @@ enum GestureRecognizerState {
/// been accepted definitively.
possible
,
/// Further pointer events cannot cause this recognizer to recogni
s
e the
/// Further pointer events cannot cause this recognizer to recogni
z
e the
/// gesture until the recognizer returns to the [ready] state (typically when
/// all the pointers the recognizer is tracking are removed from the screen).
defunct
,
...
...
packages/flutter/lib/src/material/ink_well.dart
View file @
438f4df0
...
...
@@ -15,7 +15,7 @@ import 'theme.dart';
/// An area of a [Material] that responds to touch. Has a configurable shape and
/// can be configured to clip splashes that extend outside its bounds or not.
///
/// For a variant of this widget that is speciali
s
ed for rectangular areas that
/// For a variant of this widget that is speciali
z
ed for rectangular areas that
/// always clip splashes, see [InkWell].
///
/// Must have an ancestor [Material] widget in which to cause ink reactions.
...
...
packages/flutter/lib/src/physics/friction_simulation.dart
View file @
438f4df0
...
...
@@ -72,7 +72,7 @@ class FrictionSimulation extends Simulation {
bool
isDone
(
double
time
)
=>
dx
(
time
).
abs
()
<
tolerance
.
velocity
;
}
/// A [FrictionSimulation] that clamps the model
l
ed particle to a specific range
/// A [FrictionSimulation] that clamps the modeled particle to a specific range
/// of values.
class
BoundedFrictionSimulation
extends
FrictionSimulation
{
/// Creates a [BoundedFrictionSimulation] with the given arguments, namely:
...
...
packages/flutter/lib/src/rendering/box.dart
View file @
438f4df0
...
...
@@ -339,7 +339,7 @@ class BoxConstraints extends Constraints {
}
/// Returns whether the object's constraints are normalized.
/// Constraints are normali
s
ed if the minimums are less than or
/// Constraints are normali
z
ed if the minimums are less than or
/// equal to the corresponding maximums.
///
/// For example, a BoxConstraints object with a minWidth of 100.0
...
...
packages/flutter/lib/src/scheduler/binding.dart
View file @
438f4df0
...
...
@@ -128,7 +128,7 @@ enum SchedulerPhase {
/// Scheduler for running the following:
///
/// * _Frame callbacks_, triggered by the system's
/// [ui.window.onBeginFrame] callback, for synchroni
s
ing the
/// [ui.window.onBeginFrame] callback, for synchroni
z
ing the
/// application's behavior to the system's display. For example, the
/// rendering layer uses this to drive its rendering pipeline.
///
...
...
packages/flutter/lib/src/widgets/framework.dart
View file @
438f4df0
...
...
@@ -789,7 +789,7 @@ abstract class State<T extends StatefulWidget> {
/// bundle may have changed).
///
/// In addition to this method being invoked, it is guaranteed that the
/// [build] method will be invoked when a reassemble is signal
l
ed. Most
/// [build] method will be invoked when a reassemble is signaled. Most
/// widgets therefore do not need to do anything in the [reassemble] method.
///
/// This function will only be called during development. In release builds,
...
...
@@ -3281,7 +3281,7 @@ abstract class RenderObjectElement extends BuildableElement {
// the old child list (old.children), and update our renderObject
// accordingly.
// The cases it tries to optimi
s
e for are:
// The cases it tries to optimi
z
e for are:
// - the old list is empty
// - the lists are identical
// - there is an insertion or removal of one or more widgets in
...
...
packages/flutter/lib/src/widgets/gesture_detector.dart
View file @
438f4df0
...
...
@@ -388,8 +388,8 @@ class RawGestureDetectorState extends State<RawGestureDetector> {
throw
new
FlutterError
(
'Unexpected call to replaceGestureRecognizers() method of RawGestureDetectorState.
\n
'
'The replaceGestureRecognizers() method can only be called during the layout phase. '
'To set the gesture recogni
s
ers at other times, trigger a new build using setState() '
'and provide the new gesture recogni
s
ers as constructor arguments to the corresponding '
'To set the gesture recogni
z
ers at other times, trigger a new build using setState() '
'and provide the new gesture recogni
z
ers as constructor arguments to the corresponding '
'RawGestureDetector or GestureDetector object.'
);
}
...
...
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