scheduler.dart 676 Bytes
Newer Older
1 2 3 4 5
// 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 Scheduler library.
6
///
7
/// To use, import `package:flutter/scheduler.dart`.
8 9 10 11 12 13 14 15
///
/// This library is responsible for scheduler frame callbacks, and tasks at
/// given priorities.
///
/// The library makes sure that tasks are only run when appropriate.
/// For example, an idle-task is only executed when no animation is running.
library scheduler;

16
export 'src/scheduler/binding.dart';
17
export 'src/scheduler/debug.dart';
18
export 'src/scheduler/priority.dart';
19
export 'src/scheduler/ticker.dart';