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
de55eece
Unverified
Commit
de55eece
authored
Jun 29, 2022
by
Alexandre Ardhuin
Committed by
GitHub
Jun 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Export public API types from animation and physics libraries (#106757)
parent
4158a27a
Changes
17
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
39 additions
and
13 deletions
+39
-13
curves_bench.dart
...benchmarks/microbenchmarks/lib/geometry/curves_bench.dart
+0
-1
animation.dart
packages/flutter/lib/animation.dart
+3
-0
animation.dart
packages/flutter/lib/src/animation/animation.dart
+4
-0
animation_controller.dart
packages/flutter/lib/src/animation/animation_controller.dart
+5
-1
animations.dart
packages/flutter/lib/src/animation/animations.dart
+5
-0
curves.dart
packages/flutter/lib/src/animation/curves.dart
+2
-0
listener_helpers.dart
packages/flutter/lib/src/animation/listener_helpers.dart
+4
-0
tween.dart
packages/flutter/lib/src/animation/tween.dart
+6
-3
tween_sequence.dart
packages/flutter/lib/src/animation/tween_sequence.dart
+2
-2
arc.dart
packages/flutter/lib/src/material/arc.dart
+0
-1
clamped_simulation.dart
packages/flutter/lib/src/physics/clamped_simulation.dart
+2
-0
friction_simulation.dart
packages/flutter/lib/src/physics/friction_simulation.dart
+2
-1
simulation.dart
packages/flutter/lib/src/physics/simulation.dart
+2
-0
spring_simulation.dart
packages/flutter/lib/src/physics/spring_simulation.dart
+2
-0
animated_size.dart
packages/flutter/lib/src/rendering/animated_size.dart
+0
-1
scroll_activity.dart
packages/flutter/lib/src/widgets/scroll_activity.dart
+0
-2
tabs_test.dart
packages/flutter/test/material/tabs_test.dart
+0
-1
No files found.
dev/benchmarks/microbenchmarks/lib/geometry/curves_bench.dart
View file @
de55eece
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// found in the LICENSE file.
import
'dart:ui'
;
import
'package:flutter/animation.dart'
;
import
'package:flutter/animation.dart'
;
import
'../common.dart'
;
import
'../common.dart'
;
...
...
packages/flutter/lib/animation.dart
View file @
de55eece
...
@@ -160,6 +160,9 @@
...
@@ -160,6 +160,9 @@
/// explicit [Animation] to animate their properties.
/// explicit [Animation] to animate their properties.
library
animation
;
library
animation
;
// AnimationController can throw TickerCanceled
export
'package:flutter/scheduler.dart'
show
TickerCanceled
;
export
'src/animation/animation.dart'
;
export
'src/animation/animation.dart'
;
export
'src/animation/animation_controller.dart'
;
export
'src/animation/animation_controller.dart'
;
export
'src/animation/animations.dart'
;
export
'src/animation/animations.dart'
;
...
...
packages/flutter/lib/src/animation/animation.dart
View file @
de55eece
...
@@ -7,6 +7,10 @@ import 'package:flutter/foundation.dart';
...
@@ -7,6 +7,10 @@ import 'package:flutter/foundation.dart';
import
'tween.dart'
;
import
'tween.dart'
;
export
'dart:ui'
show
VoidCallback
;
export
'tween.dart'
show
Animatable
;
// Examples can assume:
// Examples can assume:
// late AnimationController _controller;
// late AnimationController _controller;
...
...
packages/flutter/lib/src/animation/animation_controller.dart
View file @
de55eece
...
@@ -14,7 +14,11 @@ import 'animation.dart';
...
@@ -14,7 +14,11 @@ import 'animation.dart';
import
'curves.dart'
;
import
'curves.dart'
;
import
'listener_helpers.dart'
;
import
'listener_helpers.dart'
;
export
'package:flutter/scheduler.dart'
show
TickerFuture
,
TickerCanceled
;
export
'package:flutter/physics.dart'
show
Simulation
,
SpringDescription
;
export
'package:flutter/scheduler.dart'
show
TickerFuture
,
TickerProvider
;
export
'animation.dart'
show
Animation
,
AnimationStatus
;
export
'curves.dart'
show
Curve
;
// Examples can assume:
// Examples can assume:
// late AnimationController _controller, fadeAnimationController, sizeAnimationController;
// late AnimationController _controller, fadeAnimationController, sizeAnimationController;
...
...
packages/flutter/lib/src/animation/animations.dart
View file @
de55eece
...
@@ -11,6 +11,11 @@ import 'animation.dart';
...
@@ -11,6 +11,11 @@ import 'animation.dart';
import
'curves.dart'
;
import
'curves.dart'
;
import
'listener_helpers.dart'
;
import
'listener_helpers.dart'
;
export
'dart:ui'
show
VoidCallback
;
export
'animation.dart'
show
Animation
,
AnimationStatus
,
AnimationStatusListener
;
export
'curves.dart'
show
Curve
;
// Examples can assume:
// Examples can assume:
// late AnimationController controller;
// late AnimationController controller;
...
...
packages/flutter/lib/src/animation/curves.dart
View file @
de55eece
...
@@ -8,6 +8,8 @@ import 'dart:ui';
...
@@ -8,6 +8,8 @@ import 'dart:ui';
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
export
'dart:ui'
show
Offset
;
/// An abstract class providing an interface for evaluating a parametric curve.
/// An abstract class providing an interface for evaluating a parametric curve.
///
///
/// A parametric curve transforms a parameter (hence the name) `t` along a curve
/// A parametric curve transforms a parameter (hence the name) `t` along a curve
...
...
packages/flutter/lib/src/animation/listener_helpers.dart
View file @
de55eece
...
@@ -7,6 +7,10 @@ import 'package:flutter/foundation.dart';
...
@@ -7,6 +7,10 @@ import 'package:flutter/foundation.dart';
import
'animation.dart'
;
import
'animation.dart'
;
export
'dart:ui'
show
VoidCallback
;
export
'animation.dart'
show
AnimationStatus
,
AnimationStatusListener
;
/// A mixin that helps listen to another object only when this object has registered listeners.
/// A mixin that helps listen to another object only when this object has registered listeners.
///
///
/// This mixin provides implementations of [didRegisterListener] and [didUnregisterListener],
/// This mixin provides implementations of [didRegisterListener] and [didUnregisterListener],
...
...
packages/flutter/lib/src/animation/tween.dart
View file @
de55eece
...
@@ -2,13 +2,16 @@
...
@@ -2,13 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// found in the LICENSE file.
import
'dart:ui'
show
Color
,
Size
,
Rect
;
import
'dart:ui'
show
Color
,
Rect
,
Size
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'animation.dart'
;
import
'animations.dart'
;
import
'animations.dart'
;
import
'curves.dart'
;
export
'dart:ui'
show
Color
,
Rect
,
Size
;
export
'animation.dart'
show
Animation
;
export
'curves.dart'
show
Curve
;
// Examples can assume:
// Examples can assume:
// late Animation<Offset> _animation;
// late Animation<Offset> _animation;
...
...
packages/flutter/lib/src/animation/tween_sequence.dart
View file @
de55eece
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// found in the LICENSE file.
import
'animation.dart'
;
import
'tween.dart'
;
import
'tween.dart'
;
export
'tween.dart'
show
Animatable
;
// Examples can assume:
// Examples can assume:
// late AnimationController myAnimationController;
// late AnimationController myAnimationController;
...
...
packages/flutter/lib/src/material/arc.dart
View file @
de55eece
...
@@ -7,7 +7,6 @@ import 'dart:ui' show lerpDouble;
...
@@ -7,7 +7,6 @@ import 'dart:ui' show lerpDouble;
import
'package:flutter/animation.dart'
;
import
'package:flutter/animation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/painting.dart'
;
// How close the begin and end points must be to an axis to be considered
// How close the begin and end points must be to an axis to be considered
// vertical or horizontal.
// vertical or horizontal.
...
...
packages/flutter/lib/src/physics/clamped_simulation.dart
View file @
de55eece
...
@@ -6,6 +6,8 @@ import 'package:flutter/foundation.dart';
...
@@ -6,6 +6,8 @@ import 'package:flutter/foundation.dart';
import
'simulation.dart'
;
import
'simulation.dart'
;
export
'simulation.dart'
show
Simulation
;
/// A simulation that applies limits to another simulation.
/// A simulation that applies limits to another simulation.
///
///
/// The limits are only applied to the other simulation's outputs. For example,
/// The limits are only applied to the other simulation's outputs. For example,
...
...
packages/flutter/lib/src/physics/friction_simulation.dart
View file @
de55eece
...
@@ -7,7 +7,8 @@ import 'dart:math' as math;
...
@@ -7,7 +7,8 @@ import 'dart:math' as math;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'simulation.dart'
;
import
'simulation.dart'
;
import
'tolerance.dart'
;
export
'tolerance.dart'
show
Tolerance
;
/// A simulation that applies a drag to slow a particle down.
/// A simulation that applies a drag to slow a particle down.
///
///
...
...
packages/flutter/lib/src/physics/simulation.dart
View file @
de55eece
...
@@ -6,6 +6,8 @@ import 'package:flutter/foundation.dart';
...
@@ -6,6 +6,8 @@ import 'package:flutter/foundation.dart';
import
'tolerance.dart'
;
import
'tolerance.dart'
;
export
'tolerance.dart'
show
Tolerance
;
/// The base class for all simulations.
/// The base class for all simulations.
///
///
/// A simulation models an object, in a one-dimensional space, on which particular
/// A simulation models an object, in a one-dimensional space, on which particular
...
...
packages/flutter/lib/src/physics/spring_simulation.dart
View file @
de55eece
...
@@ -9,6 +9,8 @@ import 'package:flutter/foundation.dart';
...
@@ -9,6 +9,8 @@ import 'package:flutter/foundation.dart';
import
'simulation.dart'
;
import
'simulation.dart'
;
import
'utils.dart'
;
import
'utils.dart'
;
export
'tolerance.dart'
show
Tolerance
;
/// Structure that describes a spring's constants.
/// Structure that describes a spring's constants.
///
///
/// Used to configure a [SpringSimulation].
/// Used to configure a [SpringSimulation].
...
...
packages/flutter/lib/src/rendering/animated_size.dart
View file @
de55eece
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
import
'package:flutter/animation.dart'
;
import
'package:flutter/animation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/scheduler.dart'
;
import
'box.dart'
;
import
'box.dart'
;
import
'layer.dart'
;
import
'layer.dart'
;
...
...
packages/flutter/lib/src/widgets/scroll_activity.dart
View file @
de55eece
...
@@ -7,9 +7,7 @@ import 'dart:math' as math;
...
@@ -7,9 +7,7 @@ import 'dart:math' as math;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/foundation.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/physics.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/scheduler.dart'
;
import
'basic.dart'
;
import
'basic.dart'
;
import
'framework.dart'
;
import
'framework.dart'
;
...
...
packages/flutter/test/material/tabs_test.dart
View file @
de55eece
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
import
'package:flutter/gestures.dart'
;
import
'package:flutter/gestures.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter/physics.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter/rendering.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
import
'package:flutter_test/flutter_test.dart'
;
...
...
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