scheduler.dart 723 Bytes
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1
// Copyright 2014 The Flutter Authors. All rights reserved.
2 3 4 5
// 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/service_extensions.dart';
20
export 'src/scheduler/ticker.dart';