rendering.dart 2.63 KB
Newer Older
1 2 3 4
// 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.

5
/// The Flutter rendering tree.
6
///
7
/// To use, import `package:flutter/rendering.dart`.
8 9 10 11 12 13 14 15 16 17 18
///
/// The [RenderObject] hierarchy is used by the Flutter Widgets
/// library to implement its layout and painting back-end. Generally,
/// while you may use custom [RenderBox] classes for specific effects
/// in your applications, most of the time your only interaction with
/// the [RenderObject] hierarchy will be in debugging layout issues.
///
/// If you are developing your own library or application directly on
/// top of the rendering library, then you will want to have a binding
/// (see [BindingBase]). You can use [RenderingFlutterBinding], or you
/// can create your own binding. If you create your own binding, it
19 20 21 22
/// needs to import at least [SchedulerBinding], [GestureBinding],
/// [ServicesBinding], and [RendererBinding]. The rendering library
/// does not automatically create a binding, but relies on one being
/// initialized with those features.
23
library rendering;
24

25 26 27 28 29 30 31
export 'package:flutter/foundation.dart' show
  VoidCallback,
  ValueChanged,
  ValueGetter,
  ValueSetter;
export 'package:vector_math/vector_math_64.dart' show Matrix4;

32
export 'src/rendering/animated_size.dart';
33
export 'src/rendering/binding.dart';
34 35
export 'src/rendering/block.dart';
export 'src/rendering/box.dart';
36
export 'src/rendering/custom_layout.dart';
37
export 'src/rendering/debug.dart';
38
export 'src/rendering/editable.dart';
39 40
export 'src/rendering/error.dart';
export 'src/rendering/flex.dart';
Adam Barth's avatar
Adam Barth committed
41
export 'src/rendering/flow.dart';
42 43 44 45 46
export 'src/rendering/image.dart';
export 'src/rendering/layer.dart';
export 'src/rendering/node.dart';
export 'src/rendering/object.dart';
export 'src/rendering/paragraph.dart';
47
export 'src/rendering/performance_overlay.dart';
48
export 'src/rendering/proxy_box.dart';
49
export 'src/rendering/rotated_box.dart';
Hixie's avatar
Hixie committed
50
export 'src/rendering/semantics.dart';
51
export 'src/rendering/shifted_box.dart';
52
export 'src/rendering/sliver.dart';
53
export 'src/rendering/sliver_fill.dart';
54
export 'src/rendering/sliver_fixed_extent_list.dart';
55
export 'src/rendering/sliver_grid.dart';
Adam Barth's avatar
Adam Barth committed
56 57
export 'src/rendering/sliver_list.dart';
export 'src/rendering/sliver_multi_box_adaptor.dart';
Ian Hickson's avatar
Ian Hickson committed
58
export 'src/rendering/sliver_padding.dart';
59
export 'src/rendering/sliver_persistent_header.dart';
60
export 'src/rendering/stack.dart';
Hixie's avatar
Hixie committed
61
export 'src/rendering/table.dart';
62
export 'src/rendering/tweens.dart';
63
export 'src/rendering/view.dart';
64
export 'src/rendering/viewport.dart';
65
export 'src/rendering/viewport_offset.dart';
Adam Barth's avatar
Adam Barth committed
66
export 'src/rendering/wrap.dart';