Commit 37ee4b25 authored by Adam Barth's avatar Adam Barth

Add widgets_next.dart to help folks transition to fn3

Also, fix analyzer warning in fn2.
parent 32558478
......@@ -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