painting.dart 2.36 KB
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1
// Copyright 2014 The Flutter Authors. All rights reserved.
2 3 4
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

5 6
// @dart = 2.8

7
/// The Flutter painting library.
8
///
9
/// To use, import `package:flutter/painting.dart`.
10
///
11
/// This library includes a variety of classes that wrap the Flutter
12
/// engine's painting API for more specialized purposes, such as painting scaled
13
/// images, interpolating between shadows, painting borders around boxes, etc.
14
///
15
/// In particular:
16
///
17 18 19
///  * Use the [TextPainter] class for painting text.
///  * Use [Decoration] (and more concretely [BoxDecoration]) for
///    painting boxes.
20 21
library painting;

22
export 'dart:ui' show Shadow, PlaceholderAlignment, TextHeightBehavior;
23

24
export 'src/painting/alignment.dart';
25
export 'src/painting/basic_types.dart';
26
export 'src/painting/beveled_rectangle_border.dart';
27
export 'src/painting/binding.dart';
28
export 'src/painting/border_radius.dart';
29
export 'src/painting/borders.dart';
30
export 'src/painting/box_border.dart';
31
export 'src/painting/box_decoration.dart';
32
export 'src/painting/box_fit.dart';
33
export 'src/painting/box_shadow.dart';
Ian Hickson's avatar
Ian Hickson committed
34
export 'src/painting/circle_border.dart';
35
export 'src/painting/clip.dart';
36
export 'src/painting/colors.dart';
37
export 'src/painting/continuous_rectangle_border.dart';
38
export 'src/painting/debug.dart';
39
export 'src/painting/decoration.dart';
40
export 'src/painting/decoration_image.dart';
41
export 'src/painting/edge_insets.dart';
42
export 'src/painting/flutter_logo.dart';
43
export 'src/painting/fractional_offset.dart';
44
export 'src/painting/geometry.dart';
45
export 'src/painting/gradient.dart';
46 47 48 49 50
export 'src/painting/image_cache.dart';
export 'src/painting/image_decoder.dart';
export 'src/painting/image_provider.dart';
export 'src/painting/image_resolution.dart';
export 'src/painting/image_stream.dart';
51
export 'src/painting/inline_span.dart';
52
export 'src/painting/matrix_utils.dart';
53
export 'src/painting/notched_shapes.dart';
54
export 'src/painting/paint_utilities.dart';
55
export 'src/painting/placeholder_span.dart';
56
export 'src/painting/rounded_rectangle_border.dart';
57
export 'src/painting/shader_warm_up.dart';
58
export 'src/painting/shape_decoration.dart';
59
export 'src/painting/stadium_border.dart';
60
export 'src/painting/strut_style.dart';
61
export 'src/painting/text_painter.dart';
62
export 'src/painting/text_span.dart';
63
export 'src/painting/text_style.dart';