diff --git a/packages/flutter/lib/rendering.dart b/packages/flutter/lib/rendering.dart index 5e6821616a..d37ea3cdb6 100644 --- a/packages/flutter/lib/rendering.dart +++ b/packages/flutter/lib/rendering.dart @@ -5,26 +5,26 @@ /// The Flutter rendering tree. library rendering; -export 'package:sky/src/rendering/auto_layout.dart'; -export 'package:sky/src/rendering/block.dart'; -export 'package:sky/src/rendering/box.dart'; -export 'package:sky/src/rendering/debug.dart'; -export 'package:sky/src/rendering/editable_paragraph.dart'; -export 'package:sky/src/rendering/error.dart'; -export 'package:sky/src/rendering/flex.dart'; -export 'package:sky/src/rendering/grid.dart'; -export 'package:sky/src/rendering/hit_test.dart'; -export 'package:sky/src/rendering/image.dart'; -export 'package:sky/src/rendering/layer.dart'; -export 'package:sky/src/rendering/node.dart'; -export 'package:sky/src/rendering/object.dart'; -export 'package:sky/src/rendering/paragraph.dart'; -export 'package:sky/src/rendering/proxy_box.dart'; -export 'package:sky/src/rendering/shifted_box.dart'; -export 'package:sky/src/rendering/binding.dart'; -export 'package:sky/src/rendering/stack.dart'; -export 'package:sky/src/rendering/toggleable.dart'; -export 'package:sky/src/rendering/view.dart'; -export 'package:sky/src/rendering/viewport.dart'; +export 'src/rendering/auto_layout.dart'; +export 'src/rendering/block.dart'; +export 'src/rendering/box.dart'; +export 'src/rendering/debug.dart'; +export 'src/rendering/editable_paragraph.dart'; +export 'src/rendering/error.dart'; +export 'src/rendering/flex.dart'; +export 'src/rendering/grid.dart'; +export 'src/rendering/hit_test.dart'; +export 'src/rendering/image.dart'; +export 'src/rendering/layer.dart'; +export 'src/rendering/node.dart'; +export 'src/rendering/object.dart'; +export 'src/rendering/paragraph.dart'; +export 'src/rendering/proxy_box.dart'; +export 'src/rendering/shifted_box.dart'; +export 'src/rendering/binding.dart'; +export 'src/rendering/stack.dart'; +export 'src/rendering/toggleable.dart'; +export 'src/rendering/view.dart'; +export 'src/rendering/viewport.dart'; export 'package:vector_math/vector_math_64.dart' show Matrix4; diff --git a/packages/flutter/lib/src/animation/animated_value.dart b/packages/flutter/lib/src/animation/animated_value.dart index 9b4a8daa1b..c237d39e64 100644 --- a/packages/flutter/lib/src/animation/animated_value.dart +++ b/packages/flutter/lib/src/animation/animated_value.dart @@ -4,7 +4,7 @@ import 'dart:sky' show Color, Rect; -import 'package:sky/src/animation/curves.dart'; +import 'curves.dart'; /// The direction in which an animation is running enum AnimationDirection { diff --git a/packages/flutter/lib/src/animation/performance.dart b/packages/flutter/lib/src/animation/performance.dart index 3a4125d8fa..0b8a020f17 100644 --- a/packages/flutter/lib/src/animation/performance.dart +++ b/packages/flutter/lib/src/animation/performance.dart @@ -4,9 +4,9 @@ import 'dart:async'; -import 'package:sky/src/animation/animated_value.dart'; -import 'package:sky/src/animation/forces.dart'; -import 'package:sky/src/animation/simulation_stepper.dart'; +import 'animated_value.dart'; +import 'forces.dart'; +import 'simulation_stepper.dart'; /// The status of an animation enum PerformanceStatus { diff --git a/packages/flutter/lib/src/animation/simulation_stepper.dart b/packages/flutter/lib/src/animation/simulation_stepper.dart index dee9cb0c73..843be0a062 100644 --- a/packages/flutter/lib/src/animation/simulation_stepper.dart +++ b/packages/flutter/lib/src/animation/simulation_stepper.dart @@ -5,9 +5,9 @@ import 'dart:async'; import 'package:newton/newton.dart'; -import 'package:sky/src/animation/animated_value.dart'; -import 'package:sky/src/animation/curves.dart'; -import 'package:sky/src/animation/ticker.dart'; +import 'animated_value.dart'; +import 'curves.dart'; +import 'ticker.dart'; /// A simulation that varies from [begin] to [end] over [duration] using [curve] /// diff --git a/packages/flutter/lib/src/animation/ticker.dart b/packages/flutter/lib/src/animation/ticker.dart index 6c0dd32eb0..d609a38144 100644 --- a/packages/flutter/lib/src/animation/ticker.dart +++ b/packages/flutter/lib/src/animation/ticker.dart @@ -4,7 +4,7 @@ import 'dart:async'; -import 'package:sky/src/animation/scheduler.dart'; +import 'scheduler.dart'; typedef TickerCallback(Duration elapsed); diff --git a/packages/flutter/lib/src/gestures/drag.dart b/packages/flutter/lib/src/gestures/drag.dart index 66a7ec6cf0..b93631c918 100644 --- a/packages/flutter/lib/src/gestures/drag.dart +++ b/packages/flutter/lib/src/gestures/drag.dart @@ -4,9 +4,9 @@ import 'dart:sky' as sky; -import 'package:sky/src/gestures/arena.dart'; -import 'package:sky/src/gestures/recognizer.dart'; -import 'package:sky/src/gestures/constants.dart'; +import 'arena.dart'; +import 'recognizer.dart'; +import 'constants.dart'; enum DragState { ready, diff --git a/packages/flutter/lib/src/gestures/long_press.dart b/packages/flutter/lib/src/gestures/long_press.dart index ec1945dea6..6e1114ead7 100644 --- a/packages/flutter/lib/src/gestures/long_press.dart +++ b/packages/flutter/lib/src/gestures/long_press.dart @@ -4,10 +4,10 @@ import 'dart:sky' as sky; -import 'package:sky/src/gestures/arena.dart'; -import 'package:sky/src/gestures/constants.dart'; -import 'package:sky/src/gestures/pointer_router.dart'; -import 'package:sky/src/gestures/recognizer.dart'; +import 'arena.dart'; +import 'constants.dart'; +import 'pointer_router.dart'; +import 'recognizer.dart'; typedef void GestureLongPressCallback(); diff --git a/packages/flutter/lib/src/gestures/recognizer.dart b/packages/flutter/lib/src/gestures/recognizer.dart index bdc081a16a..c36e4b162c 100644 --- a/packages/flutter/lib/src/gestures/recognizer.dart +++ b/packages/flutter/lib/src/gestures/recognizer.dart @@ -5,11 +5,11 @@ import 'dart:async'; import 'dart:sky' as sky; -import 'package:sky/src/gestures/arena.dart'; -import 'package:sky/src/gestures/constants.dart'; -import 'package:sky/src/gestures/pointer_router.dart'; +import 'arena.dart'; +import 'constants.dart'; +import 'pointer_router.dart'; -export 'package:sky/src/gestures/pointer_router.dart' show PointerRouter; +export 'pointer_router.dart' show PointerRouter; abstract class GestureRecognizer extends GestureArenaMember { GestureRecognizer({ PointerRouter router }) : _router = router { diff --git a/packages/flutter/lib/src/gestures/scale.dart b/packages/flutter/lib/src/gestures/scale.dart index 299322b3f7..6f318b688c 100644 --- a/packages/flutter/lib/src/gestures/scale.dart +++ b/packages/flutter/lib/src/gestures/scale.dart @@ -4,9 +4,9 @@ import 'dart:sky' as sky; -import 'package:sky/src/gestures/arena.dart'; -import 'package:sky/src/gestures/recognizer.dart'; -import 'package:sky/src/gestures/constants.dart'; +import 'arena.dart'; +import 'recognizer.dart'; +import 'constants.dart'; enum ScaleState { ready, diff --git a/packages/flutter/lib/src/gestures/show_press.dart b/packages/flutter/lib/src/gestures/show_press.dart index 299b6ae540..85f4ede078 100644 --- a/packages/flutter/lib/src/gestures/show_press.dart +++ b/packages/flutter/lib/src/gestures/show_press.dart @@ -4,9 +4,9 @@ import 'dart:sky' as sky; -import 'package:sky/src/gestures/arena.dart'; -import 'package:sky/src/gestures/constants.dart'; -import 'package:sky/src/gestures/recognizer.dart'; +import 'arena.dart'; +import 'constants.dart'; +import 'recognizer.dart'; typedef void GestureShowPressCallback(); diff --git a/packages/flutter/lib/src/gestures/tap.dart b/packages/flutter/lib/src/gestures/tap.dart index 092874c3da..65bb5bcf0f 100644 --- a/packages/flutter/lib/src/gestures/tap.dart +++ b/packages/flutter/lib/src/gestures/tap.dart @@ -4,8 +4,8 @@ import 'dart:sky' as sky; -import 'package:sky/src/gestures/arena.dart'; -import 'package:sky/src/gestures/recognizer.dart'; +import 'arena.dart'; +import 'recognizer.dart'; typedef void GestureTapCallback(); diff --git a/packages/flutter/lib/src/painting/box_painter.dart b/packages/flutter/lib/src/painting/box_painter.dart index 4fad437902..3e0d98fe5f 100644 --- a/packages/flutter/lib/src/painting/box_painter.dart +++ b/packages/flutter/lib/src/painting/box_painter.dart @@ -7,7 +7,8 @@ import 'dart:sky' as sky; import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; import 'package:sky/services.dart'; -import 'package:sky/src/painting/shadows.dart'; + +import 'shadows.dart'; /// An immutable set of offsets in each of the four cardinal directions /// diff --git a/packages/flutter/lib/src/painting/text_painter.dart b/packages/flutter/lib/src/painting/text_painter.dart index bb4709e8ef..c51184d86e 100644 --- a/packages/flutter/lib/src/painting/text_painter.dart +++ b/packages/flutter/lib/src/painting/text_painter.dart @@ -4,9 +4,9 @@ import 'dart:sky' as sky; -import 'package:sky/src/painting/text_style.dart'; +import 'text_style.dart'; -export 'package:sky/src/painting/text_style.dart'; +export 'text_style.dart'; /// An immutable span of text abstract class TextSpan { diff --git a/packages/flutter/lib/src/rendering/auto_layout.dart b/packages/flutter/lib/src/rendering/auto_layout.dart index 150f7f4f7e..f394f558a3 100644 --- a/packages/flutter/lib/src/rendering/auto_layout.dart +++ b/packages/flutter/lib/src/rendering/auto_layout.dart @@ -3,8 +3,9 @@ // found in the LICENSE file. import 'package:cassowary/cassowary.dart' as al; -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/object.dart'; + +import 'box.dart'; +import 'object.dart'; /// Hosts the edge parameters and vends useful methods to construct expressions /// for constraints. Also sets up and manages implicit constraints and edit diff --git a/packages/flutter/lib/src/rendering/binding.dart b/packages/flutter/lib/src/rendering/binding.dart index bf9e31ad12..2771cfd4b2 100644 --- a/packages/flutter/lib/src/rendering/binding.dart +++ b/packages/flutter/lib/src/rendering/binding.dart @@ -6,10 +6,11 @@ import 'dart:sky' as sky; import 'package:sky/animation.dart'; import 'package:sky/gestures.dart'; -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/hit_test.dart'; -import 'package:sky/src/rendering/object.dart'; -import 'package:sky/src/rendering/view.dart'; + +import 'box.dart'; +import 'hit_test.dart'; +import 'object.dart'; +import 'view.dart'; int _hammingWeight(int value) { if (value == 0) diff --git a/packages/flutter/lib/src/rendering/block.dart b/packages/flutter/lib/src/rendering/block.dart index 395be74aa1..1d3ba27751 100644 --- a/packages/flutter/lib/src/rendering/block.dart +++ b/packages/flutter/lib/src/rendering/block.dart @@ -4,10 +4,11 @@ import 'dart:math' as math; -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/object.dart'; import 'package:vector_math/vector_math_64.dart'; +import 'box.dart'; +import 'object.dart'; + /// Parent data for use with [RenderBlockBase] class BlockParentData extends BoxParentData with ContainerParentDataMixin { } diff --git a/packages/flutter/lib/src/rendering/box.dart b/packages/flutter/lib/src/rendering/box.dart index 5bf22b3437..33a5b4ae23 100644 --- a/packages/flutter/lib/src/rendering/box.dart +++ b/packages/flutter/lib/src/rendering/box.dart @@ -6,10 +6,11 @@ import 'dart:math' as math; import 'dart:sky' as sky; import 'package:sky/painting.dart'; -import 'package:sky/src/rendering/debug.dart'; -import 'package:sky/src/rendering/object.dart'; import 'package:vector_math/vector_math_64.dart'; +import 'debug.dart'; +import 'object.dart'; + export 'package:sky/painting.dart' show TextBaseline; // This class should only be used in debug builds diff --git a/packages/flutter/lib/src/rendering/editable_paragraph.dart b/packages/flutter/lib/src/rendering/editable_paragraph.dart index f25dcdfdcb..95b0886772 100644 --- a/packages/flutter/lib/src/rendering/editable_paragraph.dart +++ b/packages/flutter/lib/src/rendering/editable_paragraph.dart @@ -3,10 +3,11 @@ // found in the LICENSE file. import 'package:sky/painting.dart'; -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/object.dart'; -import 'package:sky/src/rendering/paragraph.dart'; -import 'package:sky/src/rendering/proxy_box.dart' show SizeChangedCallback; + +import 'box.dart'; +import 'object.dart'; +import 'paragraph.dart'; +import 'proxy_box.dart' show SizeChangedCallback; const _kCursorGap = 1.0; // pixels const _kCursorHeightOffset = 2.0; // pixels diff --git a/packages/flutter/lib/src/rendering/error.dart b/packages/flutter/lib/src/rendering/error.dart index 7bd1abe988..01a72d040e 100644 --- a/packages/flutter/lib/src/rendering/error.dart +++ b/packages/flutter/lib/src/rendering/error.dart @@ -2,9 +2,9 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/debug.dart'; -import 'package:sky/src/rendering/object.dart'; +import 'box.dart'; +import 'debug.dart'; +import 'object.dart'; const double _kMaxWidth = 100000.0; const double _kMaxHeight = 100000.0; diff --git a/packages/flutter/lib/src/rendering/flex.dart b/packages/flutter/lib/src/rendering/flex.dart index e6a8d6d711..611841c39e 100644 --- a/packages/flutter/lib/src/rendering/flex.dart +++ b/packages/flutter/lib/src/rendering/flex.dart @@ -4,8 +4,8 @@ import 'dart:math' as math; -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/object.dart'; +import 'box.dart'; +import 'object.dart'; /// Parent data for use with [RenderFlex] class FlexParentData extends BoxParentData with ContainerParentDataMixin { diff --git a/packages/flutter/lib/src/rendering/grid.dart b/packages/flutter/lib/src/rendering/grid.dart index b07eca7a3d..fe7cc07747 100644 --- a/packages/flutter/lib/src/rendering/grid.dart +++ b/packages/flutter/lib/src/rendering/grid.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/object.dart'; +import 'box.dart'; +import 'object.dart'; class _GridMetrics { // Grid is width-in, height-out. We fill the max width and adjust height diff --git a/packages/flutter/lib/src/rendering/image.dart b/packages/flutter/lib/src/rendering/image.dart index 9b96467877..656b5f28fd 100644 --- a/packages/flutter/lib/src/rendering/image.dart +++ b/packages/flutter/lib/src/rendering/image.dart @@ -5,8 +5,9 @@ import 'dart:sky' as sky; import 'package:sky/painting.dart'; -import 'package:sky/src/rendering/object.dart'; -import 'package:sky/src/rendering/box.dart'; + +import 'box.dart'; +import 'object.dart'; /// An image in the render tree /// diff --git a/packages/flutter/lib/src/rendering/object.dart b/packages/flutter/lib/src/rendering/object.dart index f887c11cb6..4bedb368f7 100644 --- a/packages/flutter/lib/src/rendering/object.dart +++ b/packages/flutter/lib/src/rendering/object.dart @@ -7,14 +7,15 @@ import 'dart:sky' as sky; import 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; import 'package:sky/animation.dart'; -import 'package:sky/src/rendering/debug.dart'; -import 'package:sky/src/rendering/hit_test.dart'; -import 'package:sky/src/rendering/layer.dart'; -import 'package:sky/src/rendering/node.dart'; import 'package:vector_math/vector_math_64.dart'; +import 'debug.dart'; +import 'hit_test.dart'; +import 'layer.dart'; +import 'node.dart'; + export 'dart:sky' show Point, Offset, Size, Rect, Color, Paint, Path; -export 'package:sky/src/rendering/hit_test.dart' show HitTestTarget, HitTestEntry, HitTestResult; +export 'hit_test.dart' show HitTestTarget, HitTestEntry, HitTestResult; typedef sky.Shader ShaderCallback(Rect bounds); diff --git a/packages/flutter/lib/src/rendering/paragraph.dart b/packages/flutter/lib/src/rendering/paragraph.dart index 1bc509154b..2abd06904e 100644 --- a/packages/flutter/lib/src/rendering/paragraph.dart +++ b/packages/flutter/lib/src/rendering/paragraph.dart @@ -2,9 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'package:sky/src/painting/text_painter.dart'; -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/object.dart'; +import 'package:sky/painting.dart'; + +import 'box.dart'; +import 'object.dart'; export 'package:sky/src/painting/text_painter.dart'; diff --git a/packages/flutter/lib/src/rendering/proxy_box.dart b/packages/flutter/lib/src/rendering/proxy_box.dart index 1f9a7e3353..9c22ef6ef5 100644 --- a/packages/flutter/lib/src/rendering/proxy_box.dart +++ b/packages/flutter/lib/src/rendering/proxy_box.dart @@ -4,12 +4,12 @@ import 'dart:sky' as sky; -import 'package:sky/src/painting/box_painter.dart'; -import 'package:sky/src/painting/text_style.dart'; -import 'package:sky/src/rendering/object.dart'; -import 'package:sky/src/rendering/box.dart'; +import 'package:sky/painting.dart'; import 'package:vector_math/vector_math_64.dart'; +import 'box.dart'; +import 'object.dart'; + export 'package:sky/src/painting/box_painter.dart'; /// A base class for render objects that resemble their children diff --git a/packages/flutter/lib/src/rendering/shifted_box.dart b/packages/flutter/lib/src/rendering/shifted_box.dart index 26458e8baa..e15675342e 100644 --- a/packages/flutter/lib/src/rendering/shifted_box.dart +++ b/packages/flutter/lib/src/rendering/shifted_box.dart @@ -3,8 +3,9 @@ // found in the LICENSE file. import 'package:sky/painting.dart'; -import 'package:sky/src/rendering/object.dart'; -import 'package:sky/src/rendering/box.dart'; + +import 'box.dart'; +import 'object.dart'; abstract class RenderShiftedBox extends RenderBox with RenderObjectWithChildMixin { diff --git a/packages/flutter/lib/src/rendering/stack.dart b/packages/flutter/lib/src/rendering/stack.dart index b884d2d876..7d075f88b9 100644 --- a/packages/flutter/lib/src/rendering/stack.dart +++ b/packages/flutter/lib/src/rendering/stack.dart @@ -4,8 +4,8 @@ import 'dart:math' as math; -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/object.dart'; +import 'box.dart'; +import 'object.dart'; /// Parent data for use with [RenderStack] class StackParentData extends BoxParentData with ContainerParentDataMixin { diff --git a/packages/flutter/lib/src/rendering/statistics_box.dart b/packages/flutter/lib/src/rendering/statistics_box.dart index e4235c7bbb..dd7bbb0445 100644 --- a/packages/flutter/lib/src/rendering/statistics_box.dart +++ b/packages/flutter/lib/src/rendering/statistics_box.dart @@ -2,8 +2,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/object.dart'; +import 'box.dart'; +import 'object.dart'; class StatisticsBox extends RenderBox { diff --git a/packages/flutter/lib/src/rendering/toggleable.dart b/packages/flutter/lib/src/rendering/toggleable.dart index bd98d27cdb..71b83b15f0 100644 --- a/packages/flutter/lib/src/rendering/toggleable.dart +++ b/packages/flutter/lib/src/rendering/toggleable.dart @@ -6,10 +6,11 @@ import 'dart:sky' as sky; import 'package:sky/animation.dart'; import 'package:sky/gestures.dart'; -import 'package:sky/src/rendering/binding.dart'; -import 'package:sky/src/rendering/box.dart'; -import 'package:sky/src/rendering/object.dart'; -import 'package:sky/src/rendering/proxy_box.dart'; + +import 'binding.dart'; +import 'box.dart'; +import 'object.dart'; +import 'proxy_box.dart'; typedef void ValueChanged(bool value); diff --git a/packages/flutter/lib/src/rendering/view.dart b/packages/flutter/lib/src/rendering/view.dart index 74ad261a9f..bc1a5116b0 100644 --- a/packages/flutter/lib/src/rendering/view.dart +++ b/packages/flutter/lib/src/rendering/view.dart @@ -5,11 +5,12 @@ import 'dart:sky' as sky; import 'package:sky/animation.dart'; -import 'package:sky/src/rendering/layer.dart'; -import 'package:sky/src/rendering/object.dart'; -import 'package:sky/src/rendering/box.dart'; import 'package:vector_math/vector_math_64.dart'; +import 'box.dart'; +import 'layer.dart'; +import 'object.dart'; + /// The layout constraints for the root render object class ViewConstraints { const ViewConstraints({ diff --git a/packages/flutter/lib/src/rendering/viewport.dart b/packages/flutter/lib/src/rendering/viewport.dart index 9814e3ebe1..7c0dece986 100644 --- a/packages/flutter/lib/src/rendering/viewport.dart +++ b/packages/flutter/lib/src/rendering/viewport.dart @@ -4,10 +4,11 @@ import 'dart:sky' as sky; -import 'package:sky/src/rendering/object.dart'; -import 'package:sky/src/rendering/box.dart'; import 'package:vector_math/vector_math_64.dart'; +import 'box.dart'; +import 'object.dart'; + /// The direction in which to scroll enum ScrollDirection { /// Scroll left and right diff --git a/packages/flutter/lib/src/services/activity.dart b/packages/flutter/lib/src/services/activity.dart index f8b73ee7a0..c5374b8b40 100644 --- a/packages/flutter/lib/src/services/activity.dart +++ b/packages/flutter/lib/src/services/activity.dart @@ -5,9 +5,10 @@ import 'dart:sky'; import 'dart:async'; -import 'package:sky/src/services/shell.dart'; import 'package:sky_services/activity/activity.mojom.dart'; +import 'shell.dart'; + export 'package:sky_services/activity/activity.mojom.dart'; /// Dart wrapper around Activity mojo service available in Sky on Android. diff --git a/packages/flutter/lib/src/services/asset_bundle.dart b/packages/flutter/lib/src/services/asset_bundle.dart index 0ecfa008bb..8294128776 100644 --- a/packages/flutter/lib/src/services/asset_bundle.dart +++ b/packages/flutter/lib/src/services/asset_bundle.dart @@ -9,11 +9,12 @@ import 'dart:typed_data'; import 'package:mojo/core.dart' as core; import 'package:mojo_services/mojo/asset_bundle/asset_bundle.mojom.dart'; -import 'package:sky/src/services/fetch.dart'; -import 'package:sky/src/services/image_cache.dart'; -import 'package:sky/src/services/image_decoder.dart'; -import 'package:sky/src/services/image_resource.dart'; -import 'package:sky/src/services/shell.dart'; + +import 'fetch.dart'; +import 'image_cache.dart'; +import 'image_decoder.dart'; +import 'image_resource.dart'; +import 'shell.dart'; abstract class AssetBundle { void close(); diff --git a/packages/flutter/lib/src/services/fetch.dart b/packages/flutter/lib/src/services/fetch.dart index c6ce40c643..da2ae34517 100644 --- a/packages/flutter/lib/src/services/fetch.dart +++ b/packages/flutter/lib/src/services/fetch.dart @@ -10,7 +10,8 @@ import 'package:mojo/mojo/url_request.mojom.dart'; import 'package:mojo/mojo/url_response.mojom.dart'; import 'package:mojo_services/mojo/network_service.mojom.dart'; import 'package:mojo_services/mojo/url_loader.mojom.dart'; -import 'package:sky/src/services/shell.dart'; + +import 'shell.dart'; export 'package:mojo/mojo/url_response.mojom.dart' show UrlResponse; diff --git a/packages/flutter/lib/src/services/image_cache.dart b/packages/flutter/lib/src/services/image_cache.dart index 81b3d3f730..52788a854b 100644 --- a/packages/flutter/lib/src/services/image_cache.dart +++ b/packages/flutter/lib/src/services/image_cache.dart @@ -7,9 +7,10 @@ import 'dart:collection'; import 'dart:sky' as sky; import 'package:mojo/mojo/url_response.mojom.dart'; -import 'package:sky/src/services/fetch.dart'; -import 'package:sky/src/services/image_decoder.dart'; -import 'package:sky/src/services/image_resource.dart'; + +import 'fetch.dart'; +import 'image_decoder.dart'; +import 'image_resource.dart'; Future _fetchImage(String url) async { UrlResponse response = await fetchUrl(url); diff --git a/packages/flutter/lib/src/services/keyboard.dart b/packages/flutter/lib/src/services/keyboard.dart index d5bcd97014..81cd017b32 100644 --- a/packages/flutter/lib/src/services/keyboard.dart +++ b/packages/flutter/lib/src/services/keyboard.dart @@ -3,7 +3,8 @@ // found in the LICENSE file. import 'package:mojo_services/keyboard/keyboard.mojom.dart'; -import 'package:sky/src/services/shell.dart'; + +import 'shell.dart'; export 'package:mojo_services/keyboard/keyboard.mojom.dart'; diff --git a/packages/flutter/lib/src/services/shell.dart b/packages/flutter/lib/src/services/shell.dart index 3f3f4112df..679f3c3e40 100644 --- a/packages/flutter/lib/src/services/shell.dart +++ b/packages/flutter/lib/src/services/shell.dart @@ -7,7 +7,8 @@ import 'dart:sky.internals' as internals; import 'package:mojo/application.dart'; import 'package:mojo/core.dart' as core; import 'package:mojo/mojo/service_provider.mojom.dart'; -import 'package:sky/src/services/embedder.dart'; + +import 'embedder.dart'; ApplicationConnection _initConnection() { int rawHandle = internals.takeServicesProvidedByEmbedder();