ui.dart 1015 字节
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.

I
Ian Hickson 已提交
5 6
/// Built-in types and core primitives for a Flutter application.
///
7 8
/// To use, import `dart:ui`.
///
I
Ian Hickson 已提交
9 10 11 12 13
/// This library exposes the lowest-level services that Flutter frameworks use
/// to bootstrap applications, such as methods to obtain handles for the mojo
/// IPC system, classes for driving the graphics and text layout and rendering
/// subsystems, callbacks for integrating with the engine scheduler and the
/// pointer input system, and functions for image decoding.
14 15
library dart_ui;

16
import 'dart:_internal';
17 18
import 'dart:math' as math;
import 'dart:mojo.internal';
19 20 21 22
import 'dart:nativewrappers';
import 'dart:typed_data';

part 'compositing.dart';
23
part 'geometry.dart';
24 25 26
part 'hash_codes.dart';
part 'hooks.dart';
part 'lerp.dart';
A
Adam Barth 已提交
27
part 'mojo_services.dart';
28 29 30 31
part 'natives.dart';
part 'painting.dart';
part 'text.dart';
part 'window.dart';