1// Copyright 2014 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5/// The Flutter rendering tree.
6///
7/// To use, import `package:flutter/rendering.dart`.
8///
9/// The [RenderObject] hierarchy is used by the Flutter Widgets library to
10/// implement its layout and painting back-end. Generally, while you may use
11/// custom [RenderBox] classes for specific effects in your applications, most
12/// of the time your only interaction with the [RenderObject] hierarchy will be
13/// in debugging layout issues.
14///
15/// If you are developing your own library or application directly on top of the
16/// rendering library, then you will want to have a binding (see [BindingBase]).
17/// You can use [RenderingFlutterBinding], or you can create your own binding.
18/// If you create your own binding, it needs to import at least
19/// [ServicesBinding], [GestureBinding], [SchedulerBinding], [PaintingBinding],
20/// and [RendererBinding]. The rendering library does not automatically create a
21/// binding, but relies on one being initialized with those features.
22library rendering;
23
24export 'package:flutter/foundation.dart' show
25 DiagnosticLevel,
26 ValueChanged,
27 ValueGetter,
28 ValueSetter,
29 VoidCallback;
30export 'package:flutter/semantics.dart';
31export 'package:vector_math/vector_math_64.dart' show Matrix4;
32
33export 'src/rendering/animated_size.dart';
34export 'src/rendering/binding.dart';
35export 'src/rendering/box.dart';
36export 'src/rendering/custom_layout.dart';
37export 'src/rendering/custom_paint.dart';
38export 'src/rendering/debug.dart';
39export 'src/rendering/debug_overflow_indicator.dart';
40export 'src/rendering/decorated_sliver.dart';
41export 'src/rendering/editable.dart';
42export 'src/rendering/error.dart';
43export 'src/rendering/flex.dart';
44export 'src/rendering/flow.dart';
45export 'src/rendering/image.dart';
46export 'src/rendering/layer.dart';
47export 'src/rendering/layout_helper.dart';
48export 'src/rendering/list_body.dart';
49export 'src/rendering/list_wheel_viewport.dart';
50export 'src/rendering/mouse_tracker.dart';
51export 'src/rendering/object.dart';
52export 'src/rendering/paragraph.dart';
53export 'src/rendering/performance_overlay.dart';
54export 'src/rendering/platform_view.dart';
55export 'src/rendering/proxy_box.dart';
56export 'src/rendering/proxy_sliver.dart';
57export 'src/rendering/rotated_box.dart';
58export 'src/rendering/selection.dart';
59export 'src/rendering/service_extensions.dart';
60export 'src/rendering/shifted_box.dart';
61export 'src/rendering/sliver.dart';
62export 'src/rendering/sliver_fill.dart';
63export 'src/rendering/sliver_fixed_extent_list.dart';
64export 'src/rendering/sliver_grid.dart';
65export 'src/rendering/sliver_group.dart';
66export 'src/rendering/sliver_list.dart';
67export 'src/rendering/sliver_multi_box_adaptor.dart';
68export 'src/rendering/sliver_padding.dart';
69export 'src/rendering/sliver_persistent_header.dart';
70export 'src/rendering/stack.dart';
71export 'src/rendering/table.dart';
72export 'src/rendering/table_border.dart';
73export 'src/rendering/texture.dart';
74export 'src/rendering/tweens.dart';
75export 'src/rendering/view.dart';
76export 'src/rendering/viewport.dart';
77export 'src/rendering/viewport_offset.dart';
78export 'src/rendering/wrap.dart';
79