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

18
export 'src/painting/basic_types.dart';
19
export 'src/painting/box_painter.dart';
20
export 'src/painting/colors.dart';
21
export 'src/painting/decoration.dart';
22
export 'src/painting/edge_insets.dart';
23
export 'src/painting/text_editing.dart';
24 25
export 'src/painting/text_painter.dart';
export 'src/painting/text_style.dart';
26
export 'src/painting/transforms.dart';