diff --git a/packages/flutter/lib/src/widgets/scrollable.dart b/packages/flutter/lib/src/widgets/scrollable.dart index 20ef8ac28b..3f4a721ffd 100644 --- a/packages/flutter/lib/src/widgets/scrollable.dart +++ b/packages/flutter/lib/src/widgets/scrollable.dart @@ -125,7 +125,7 @@ abstract class Scrollable extends StatefulComponent { void _startToEndAnimation({ double velocity: 0.0 }) { _stopAnimations(); - Simulation simulation = scrollBehavior.release(scrollOffset, velocity); + Simulation simulation = scrollBehavior.createFlingScrollSimulation(scrollOffset, velocity); if (simulation != null) _toEndAnimation.start(simulation); } diff --git a/packages/flutter/lib/widgets_next.dart b/packages/flutter/lib/widgets_next.dart new file mode 100644 index 0000000000..bf7f11bb9f --- /dev/null +++ b/packages/flutter/lib/widgets_next.dart @@ -0,0 +1,8 @@ +// Copyright 2015 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +/// The Flutter widget framework. +library widgets; + +export 'src/fn3.dart';