rendering.dart 2.9 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
/// 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.
14
///
15 16 17 18 19 20 21
/// 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 needs to import at least
/// [ServicesBinding], [GestureBinding], [SchedulerBinding], [PaintingBinding],
/// and [RendererBinding]. The rendering library does not automatically create a
/// binding, but relies on one being initialized with those features.
22
library rendering;
23

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

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