painting.dart 1.17 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
export 'src/painting/basic_types.dart';
21
export 'src/painting/box_painter.dart';
22
export 'src/painting/colors.dart';
23
export 'src/painting/decoration.dart';
24
export 'src/painting/edge_insets.dart';
25
export 'src/painting/flutter_logo.dart';
26 27
export 'src/painting/fractional_offset.dart';
export 'src/painting/image_fit.dart';
28
export 'src/painting/text_editing.dart';
29
export 'src/painting/text_painter.dart';
30
export 'src/painting/text_span.dart';
31
export 'src/painting/text_style.dart';
32
export 'src/painting/transforms.dart';