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

20 21
export 'dart:ui' show Shadow;

22
export 'src/painting/alignment.dart';
23
export 'src/painting/basic_types.dart';
24
export 'src/painting/beveled_rectangle_border.dart';
25
export 'src/painting/binding.dart';
26
export 'src/painting/border_radius.dart';
27
export 'src/painting/borders.dart';
28
export 'src/painting/box_border.dart';
29
export 'src/painting/box_decoration.dart';
30
export 'src/painting/box_fit.dart';
31
export 'src/painting/box_shadow.dart';
Ian Hickson's avatar
Ian Hickson committed
32
export 'src/painting/circle_border.dart';
33
export 'src/painting/clip.dart';
34
export 'src/painting/colors.dart';
35
export 'src/painting/continuous_rectangle_border.dart';
36
export 'src/painting/debug.dart';
37
export 'src/painting/decoration.dart';
38
export 'src/painting/decoration_image.dart';
39
export 'src/painting/edge_insets.dart';
40
export 'src/painting/flutter_logo.dart';
41
export 'src/painting/fractional_offset.dart';
42
export 'src/painting/geometry.dart';
43
export 'src/painting/gradient.dart';
44 45 46 47 48
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';
49
export 'src/painting/matrix_utils.dart';
50
export 'src/painting/notched_shapes.dart';
51
export 'src/painting/paint_utilities.dart';
52
export 'src/painting/rounded_rectangle_border.dart';
53
export 'src/painting/shader_warm_up.dart';
54
export 'src/painting/shape_decoration.dart';
55
export 'src/painting/stadium_border.dart';
56
export 'src/painting/strut_style.dart';
57
export 'src/painting/text_painter.dart';
58
export 'src/painting/text_span.dart';
59
export 'src/painting/text_style.dart';