Commit 215e6ae2 authored by Adam Barth's avatar Adam Barth

Merge pull request #1408 from abarth/widgets_next

Add widgets_next.dart to help folks transition to fn3
parents 8f91be5a 37ee4b25
......@@ -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);
}
......
// 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';
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment