
Code outside of package:sky should import this code using package:sky/rendering.dart package:sky/widgets.dart Moving this code into the "src" directory is a convention that signifies that and it cleans up the generated dartdoc because the libraries in the src directory aren't included in the generated documentation. Instead, the classes are documented in the widgets.dart and rendering.dart libraries.
45 lines
1.3 KiB
Dart
45 lines
1.3 KiB
Dart
// 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.
|
|
|
|
library skysprites;
|
|
|
|
import 'dart:async';
|
|
import 'dart:convert';
|
|
import 'dart:math' as math;
|
|
import 'dart:typed_data';
|
|
import 'dart:sky';
|
|
|
|
import 'package:mojo/core.dart';
|
|
import 'package:sky/animation/curves.dart';
|
|
import 'package:sky/base/scheduler.dart' as scheduler;
|
|
import 'package:sky/mojo/asset_bundle.dart';
|
|
import 'package:sky/mojo/shell.dart' as shell;
|
|
import 'package:sky/painting/text_painter.dart';
|
|
import 'package:sky/src/rendering/box.dart';
|
|
import 'package:sky/src/rendering/object.dart';
|
|
import 'package:sky/src/widgets/framework.dart';
|
|
import 'package:sky_services/media/media.mojom.dart';
|
|
import 'package:vector_math/vector_math.dart';
|
|
|
|
part 'action.dart';
|
|
part 'constraint.dart';
|
|
part 'action_spline.dart';
|
|
part 'color_secuence.dart';
|
|
part 'image_map.dart';
|
|
part 'label.dart';
|
|
part 'layer.dart';
|
|
part 'node.dart';
|
|
part 'node3d.dart';
|
|
part 'node_with_size.dart';
|
|
part 'particle_system.dart';
|
|
part 'sound.dart';
|
|
part 'sound_manager.dart';
|
|
part 'sprite.dart';
|
|
part 'spritesheet.dart';
|
|
part 'sprite_box.dart';
|
|
part 'sprite_widget.dart';
|
|
part 'texture.dart';
|
|
part 'util.dart';
|
|
part 'virtual_joystick.dart';
|