Commit 65eba908 authored by Adam Barth's avatar Adam Barth

Rename package:sky to package:flutter

parent 5b37f875
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/material.dart';
import 'package:flutter/material.dart';
class Field extends StatelessComponent {
Field({
......
name: address_book
dependencies:
sky: any
flutter: any
sky_tools: any
dependency_overrides:
material_design_icons:
path: ../../sky/packages/material_design_icons
sky:
flutter:
path: ../../sky/packages/sky
......@@ -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/material.dart';
import 'package:sky/painting.dart';
import 'package:sky/services.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/services.dart';
AssetBundle _initBundle() {
if (rootBundle != null)
......
name: demo_launcher
dependencies:
sky: any
flutter: any
sky_tools: any
dependency_overrides:
material_design_icons:
path: ../../sky/packages/material_design_icons
sky:
flutter:
path: ../../sky/packages/sky
......@@ -5,8 +5,8 @@
library fitness;
import 'package:playfair/playfair.dart' as playfair;
import 'package:sky/material.dart';
import 'package:sky/painting.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'user_data.dart';
import 'date_utils.dart';
......
......@@ -9,7 +9,7 @@ import 'dart:async';
import 'package:path/path.dart' as path;
import 'main.dart';
import 'package:sky/services.dart';
import 'package:flutter/services.dart';
String cachedDataFilePath = null;
......
name: fitness
dependencies:
sky: any
flutter: any
sky_tools: any
playfair: ^0.0.9
path: ^1.3.6
dependency_overrides:
material_design_icons:
path: ../../sky/packages/material_design_icons
sky:
flutter:
path: ../../sky/packages/sky
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:sky/services.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:skysprites/skysprites.dart';
AssetBundle _initBundle() {
......
......@@ -4,7 +4,7 @@ import 'dart:async';
import 'dart:math' as math;
import 'dart:ui' as sky;
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
import 'package:skysprites/skysprites.dart';
import 'package:vector_math/vector_math_64.dart';
......
......@@ -4,10 +4,10 @@
import 'dart:async';
import 'package:sky/material.dart';
import 'package:sky/painting.dart';
import 'package:sky/rendering.dart';
import 'package:sky/services.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:skysprites/skysprites.dart';
import 'game_demo.dart';
......
name: asteroids
dependencies:
sky: any
flutter: any
sky_tools: any
skysprites: any
box2d: any
dependency_overrides:
material_design_icons:
path: ../../sky/packages/material_design_icons
sky:
flutter:
path: ../../sky/packages/sky
skysprites:
path: ../../skysprites
import 'dart:ui';
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:sky/services.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:skysprites/skysprites.dart';
AssetBundle _initBundle() {
......
import 'dart:ui';
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:sky/services.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:skysprites/skysprites.dart';
AssetBundle _initBundle() {
......
import 'dart:ui' as sky;
import 'dart:math' as math;
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:sky/services.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:skysprites/skysprites.dart';
AssetBundle _initBundle() {
......
import 'dart:ui';
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:sky/services.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'package:skysprites/skysprites.dart';
AssetBundle _initBundle() {
......
......@@ -2,6 +2,6 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/widgets.dart';
import 'package:flutter/widgets.dart';
void main() => runApp(new Center(child: new Text('Hello, world!')));
name: hello_world
dependencies:
sky: any
flutter: any
sky_tools: any
dependency_overrides:
material_design_icons:
path: ../../sky/packages/material_design_icons
sky:
flutter:
path: ../../sky/packages/sky
......@@ -4,10 +4,10 @@
import 'dart:ui' as sky;
import 'dart:math';
import 'package:sky/material.dart';
import 'package:sky/painting.dart';
import 'package:sky/rendering.dart';
import 'package:sky/services.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
// Classic minesweeper-inspired game. The mouse controls are standard
// except for left + right combo which is not implemented. For touch,
......
name: mine_digger
dependencies:
sky: any
flutter: any
sky_tools: any
dependency_overrides:
material_design_icons:
path: ../../sky/packages/material_design_icons
sky:
flutter:
path: ../../sky/packages/sky
name: raw
dependencies:
sky: any
flutter: any
sky_tools: any
dependency_overrides:
material_design_icons:
path: ../../sky/packages/material_design_icons
sky:
flutter:
path: ../../sky/packages/sky
......@@ -6,7 +6,7 @@ import 'dart:math' as math;
import 'dart:ui' as sky;
import 'dart:typed_data';
import 'package:sky/services.dart';
import 'package:flutter/services.dart';
double timeBase = null;
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
import 'solid_color_box.dart';
......
......@@ -4,7 +4,7 @@
import 'dart:ui' as sky;
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
RenderBox getBox(double lh) {
RenderParagraph paragraph = new RenderParagraph(
......
......@@ -4,7 +4,7 @@
import 'dart:ui' as sky;
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
void main() {
var root = new RenderFlex(
......
......@@ -4,7 +4,7 @@
import 'dart:ui' as sky;
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
import 'solid_color_box.dart';
RenderBox buildFlexExample() {
......
......@@ -5,8 +5,8 @@
import 'dart:ui' as sky;
import 'dart:math' as math;
import 'package:sky/services.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/services.dart';
import 'package:flutter/rendering.dart';
import 'solid_color_box.dart';
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
import 'solid_color_box.dart';
......
name: rendering
dependencies:
sky: any
flutter: any
sky_tools: any
dependency_overrides:
material_design_icons:
path: ../../sky/packages/material_design_icons
sky:
flutter:
path: ../../sky/packages/sky
......@@ -4,8 +4,8 @@
import 'dart:math' as math;
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'solid_color_box.dart';
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
import 'solid_color_box.dart';
......
......@@ -5,7 +5,7 @@
import 'dart:math' as math;
import 'dart:ui' as sky;
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
const double kTwoPi = 2 * math.PI;
......
......@@ -4,8 +4,8 @@
import 'dart:ui';
import 'package:sky/rendering.dart';
import 'package:sky/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/material.dart';
void main() {
var coloredBox = new RenderDecoratedBox(
......
......@@ -5,7 +5,7 @@
import 'dart:ui';
import 'package:cassowary/cassowary.dart' as al;
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
void main() {
RenderDecoratedBox c1 = new RenderDecoratedBox(
......
......@@ -4,7 +4,7 @@
import 'dart:ui' as sky;
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
class RenderSolidColorBox extends RenderDecoratedBox {
final Size desiredSize;
......
......@@ -4,8 +4,8 @@
import 'dart:ui' as sky;
import 'package:sky/animation.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/rendering.dart';
import 'solid_color_box.dart';
......
......@@ -4,8 +4,8 @@
import 'dart:ui' as sky;
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
// Material design colors. :p
List<Color> kColors = [
......
......@@ -4,7 +4,7 @@
import 'dart:ui' as sky;
import 'package:sky/rendering.dart';
import 'package:flutter/rendering.dart';
void main() {
RenderDecoratedBox green = new RenderDecoratedBox(
......
......@@ -8,9 +8,9 @@ import 'dart:async';
import 'dart:math' as math;
import 'dart:ui' as sky;
import 'package:sky/gestures.dart';
import 'package:sky/material.dart';
import 'package:sky/painting.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'stock_data.dart';
......
......@@ -10,7 +10,7 @@
import 'dart:convert';
import 'dart:math' as math;
import 'package:sky/services.dart';
import 'package:flutter/services.dart';
final math.Random _rng = new math.Random();
......
name: stocks
dependencies:
sky: any
flutter: any
sky_tools: any
dependency_overrides:
material_design_icons:
path: ../../sky/packages/material_design_icons
sky:
flutter:
path: ../../sky/packages/sky
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/material.dart';
import 'package:flutter/material.dart';
class BigSwitch extends StatefulComponent {
BigSwitch({ this.scale });
......
......@@ -4,8 +4,8 @@
import 'dart:ui' as sky;
import 'package:sky/material.dart';
import 'package:sky/painting.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
class CardModel {
CardModel(this.value, this.height) {
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/material.dart';
import 'package:flutter/material.dart';
class ContainerApp extends StatelessComponent {
Widget build(BuildContext context) {
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/material.dart';
import 'package:flutter/material.dart';
void main() => runApp(new DatePickerDemo());
......
......@@ -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/material.dart';
import 'package:sky/painting.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/rendering.dart';
class DragData {
DragData(this.text);
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/material.dart';
import 'package:flutter/material.dart';
class CardModel {
CardModel(this.value, this.height, this.color);
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/widgets.dart';
import 'package:flutter/widgets.dart';
class Circle extends StatelessComponent {
Circle({ this.margin: EdgeDims.zero });
......
......@@ -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/material.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
class IndexedStackDemo extends StatefulComponent {
IndexedStackDemo({ this.navigator });
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/material.dart';
import 'package:flutter/material.dart';
final Map<String, RouteBuilder> routes = <String, RouteBuilder>{
'/': (RouteArguments args) => new Container(
......
......@@ -4,8 +4,8 @@
import 'dart:ui' as sky;
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
class CardModel {
CardModel(this.value, this.height, this.color);
......
......@@ -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/material.dart';
import 'package:sky/painting.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
class CardModel {
CardModel(this.value, this.size, this.color);
......
......@@ -4,9 +4,9 @@
import 'package:mojo/mojo/url_response.mojom.dart';
import 'package:sky_services/media/media.mojom.dart';
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:sky/services.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/services.dart';
// All of these sounds are marked as public domain at soundbible.
const String chimes = "http://soundbible.com/grab.php?id=2030&type=wav";
......
......@@ -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/animation.dart';
import 'package:sky/material.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/material.dart';
class ProgressIndicatorApp extends StatefulComponent {
ProgressIndicatorAppState createState() => new ProgressIndicatorAppState();
......
name: widgets
dependencies:
sky: any
flutter: any
sky_tools: any
dependency_overrides:
material_design_icons:
path: ../../sky/packages/material_design_icons
sky:
flutter:
path: ../../sky/packages/sky
......@@ -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/material.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
class ScaleApp extends StatefulComponent {
ScaleAppState createState() => new ScaleAppState();
......
......@@ -4,8 +4,8 @@
import 'dart:math' as math;
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import '../rendering/sector_layout.dart';
......
......@@ -4,9 +4,9 @@
import 'dart:ui' as sky;
import 'package:sky/animation.dart';
import 'package:sky/material.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
import '../rendering/solid_color_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/material.dart';
import 'package:sky/rendering.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';
class StyledTextApp extends StatefulComponent {
StyledTextAppState createState() => new StyledTextAppState();
......
......@@ -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/material.dart';
import 'package:sky/painting.dart';
import 'package:flutter/material.dart';
import 'package:flutter/painting.dart';
class TabbedNavigatorApp extends StatefulComponent {
TabbedNavigatorAppState createState() => new TabbedNavigatorAppState();
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/widgets.dart';
import 'package:flutter/widgets.dart';
import 'material.dart';
......
......@@ -4,12 +4,12 @@
import 'dart:ui' as sky;
import 'package:sky/rendering.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'theme.dart';
export 'package:sky/rendering.dart' show ValueChanged;
export 'package:flutter/rendering.dart' show ValueChanged;
const double _kMidpoint = 0.5;
const sky.Color _kLightUncheckedColor = const sky.Color(0x8A000000);
......
......@@ -6,9 +6,9 @@ import 'dart:async';
import 'package:intl/date_symbols.dart';
import 'package:intl/intl.dart';
import 'package:sky/painting.dart';
import 'package:sky/services.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'colors.dart';
import 'ink_well.dart';
......
......@@ -4,9 +4,9 @@
import 'dart:async';
import 'package:sky/animation.dart';
import 'package:sky/gestures.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import 'colors.dart';
import 'material_button.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/animation.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/widgets.dart';
import 'colors.dart';
import 'shadows.dart';
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/widgets.dart';
import 'package:flutter/widgets.dart';
import 'theme.dart';
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/widgets.dart';
import 'package:flutter/widgets.dart';
import 'constants.dart';
import 'theme.dart';
......
......@@ -4,9 +4,9 @@
import 'dart:ui' as sky;
import 'package:sky/gestures.dart';
import 'package:sky/painting.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/widgets.dart';
import 'colors.dart';
import 'icon.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/gestures.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import 'colors.dart';
import 'material_button.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/gestures.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import 'icon.dart';
import 'ink_well.dart';
......
......@@ -4,8 +4,8 @@
import 'dart:ui' as sky;
import 'package:sky/services.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'theme.dart';
......
......@@ -4,8 +4,8 @@
import 'dart:ui' as sky;
import 'package:sky/gestures.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import 'icon.dart';
......
......@@ -6,10 +6,10 @@ import 'dart:async';
import 'dart:math' as math;
import 'dart:ui' as sky;
import 'package:sky/animation.dart';
import 'package:sky/gestures.dart';
import 'package:sky/rendering.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
const int _kSplashInitialOpacity = 0x30;
const double _kSplashCanceledVelocity = 0.7;
......
......@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/animation.dart';
import 'package:sky/services.dart';
import 'package:sky/painting.dart';
import 'package:sky/rendering.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/services.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'theme.dart';
export 'package:sky/services.dart' show KeyboardType;
export 'package:flutter/services.dart' show KeyboardType;
typedef void StringValueChanged(String value);
......
......@@ -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/animation.dart';
import 'package:sky/painting.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/widgets.dart';
import 'constants.dart';
import 'shadows.dart';
......
......@@ -4,9 +4,9 @@
import 'dart:ui' as sky;
import 'package:sky/painting.dart';
import 'package:sky/services.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'theme.dart';
import 'title.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/gestures.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import 'colors.dart';
import 'ink_well.dart';
......
......@@ -5,9 +5,9 @@
import 'dart:async';
import 'dart:ui' as sky;
import 'package:sky/animation.dart';
import 'package:sky/painting.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/widgets.dart';
import 'ink_well.dart';
import 'popup_menu_item.dart';
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/widgets.dart';
import 'package:flutter/widgets.dart';
import 'theme.dart';
......
......@@ -5,8 +5,8 @@
import 'dart:math' as math;
import 'dart:ui' as sky;
import 'package:sky/animation.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/widgets.dart';
import 'theme.dart';
......
......@@ -6,7 +6,7 @@ import 'dart:async';
import 'dart:ui' as sky;
import 'dart:ui' show Point, Offset, Color, Paint;
import 'package:sky/animation.dart';
import 'package:flutter/animation.dart';
const Duration _kShowDuration = const Duration(milliseconds: 300);
const Duration _kHideDuration = const Duration(milliseconds: 200);
......
......@@ -4,7 +4,7 @@
import 'dart:ui' as sky;
import 'package:sky/widgets.dart';
import 'package:flutter/widgets.dart';
import 'theme.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/gestures.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart';
import 'colors.dart';
import 'material_button.dart';
......
......@@ -4,8 +4,8 @@
import 'dart:ui' as sky;
import 'package:sky/rendering.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'constants.dart';
......
......@@ -4,7 +4,7 @@
import 'dart:ui' show Color, Offset;
import 'package:sky/painting.dart';
import 'package:flutter/painting.dart';
const Map<int, List<BoxShadow>> shadows = const {
1: const [
......
......@@ -2,10 +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/animation.dart';
import 'package:sky/gestures.dart';
import 'package:sky/painting.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/widgets.dart';
import 'constants.dart';
import 'material.dart';
......
......@@ -5,15 +5,15 @@
import 'dart:async';
import 'dart:ui' as sky;
import 'package:sky/painting.dart';
import 'package:sky/rendering.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'radial_reaction.dart';
import 'shadows.dart';
import 'theme.dart';
export 'package:sky/rendering.dart' show ValueChanged;
export 'package:flutter/rendering.dart' show ValueChanged;
const sky.Color _kThumbOffColor = const sky.Color(0xFFFAFAFA);
const sky.Color _kTrackOffColor = const sky.Color(0x42000000);
......
......@@ -6,11 +6,11 @@ import 'dart:math' as math;
import 'dart:ui' as sky;
import 'package:newton/newton.dart';
import 'package:sky/animation.dart';
import 'package:sky/gestures.dart';
import 'package:sky/painting.dart';
import 'package:sky/rendering.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/rendering.dart';
import 'package:flutter/widgets.dart';
import 'colors.dart';
import 'constants.dart';
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/widgets.dart';
import 'package:flutter/widgets.dart';
import 'theme_data.dart';
......
......@@ -4,8 +4,8 @@
import 'dart:ui';
import 'package:sky/src/material/typography.dart';
import 'package:sky/src/material/colors.dart';
import 'package:flutter/src/material/typography.dart';
import 'package:flutter/src/material/colors.dart';
enum ThemeBrightness { dark, light }
......
......@@ -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/services.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/services.dart';
import 'package:flutter/widgets.dart';
import 'theme.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/painting.dart';
import 'package:sky/widgets.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/widgets.dart';
import 'constants.dart';
import 'icon.dart';
......
......@@ -6,8 +6,8 @@
import 'dart:ui' show Color;
import 'package:sky/painting.dart';
import 'package:sky/src/material/colors.dart';
import 'package:flutter/painting.dart';
import 'package:flutter/src/material/colors.dart';
// TODO(eseidel): Font weights are supposed to be language relative!
// TODO(jackson): Baseline should be language relative!
......
......@@ -6,7 +6,7 @@ import 'dart:math' as math;
import 'dart:ui' as sky;
import 'dart:ui' show Point, Offset, Size, Rect, Color, Paint, Path;
import 'package:sky/services.dart';
import 'package:flutter/services.dart';
import 'shadows.dart';
......
......@@ -4,8 +4,8 @@
import 'dart:ui' as sky;
import 'package:sky/animation.dart';
import 'package:sky/gestures.dart';
import 'package:flutter/animation.dart';
import 'package:flutter/gestures.dart';
import 'box.dart';
import 'hit_test.dart';
......
......@@ -5,13 +5,13 @@
import 'dart:math' as math;
import 'dart:ui' as sky;
import 'package:sky/painting.dart';
import 'package:flutter/painting.dart';
import 'package:vector_math/vector_math_64.dart';
import 'debug.dart';
import 'object.dart';
export 'package:sky/painting.dart' show TextBaseline;
export 'package:flutter/painting.dart' show TextBaseline;
// This class should only be used in debug builds
class _DebugSize extends Size {
......
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/painting.dart';
import 'package:flutter/painting.dart';
import 'box.dart';
import 'object.dart';
......
......@@ -4,7 +4,7 @@
import 'dart:ui' as sky;
import 'package:sky/painting.dart';
import 'package:flutter/painting.dart';
import 'box.dart';
import 'object.dart';
......
......@@ -6,7 +6,7 @@ import 'dart:math' as math;
import 'dart:ui' as sky;
import 'dart:ui' show Point, Offset, Size, Rect, Color, Paint, Path;
import 'package:sky/animation.dart';
import 'package:flutter/animation.dart';
import 'package:vector_math/vector_math_64.dart';
import 'debug.dart';
......
......@@ -2,12 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:sky/painting.dart';
import 'package:flutter/painting.dart';
import 'box.dart';
import 'object.dart';
export 'package:sky/src/painting/text_painter.dart';
export 'package:flutter/src/painting/text_painter.dart';
/// A render object that displays a paragraph of text
class RenderParagraph extends RenderBox {
......
......@@ -4,13 +4,13 @@
import 'dart:ui' as sky;
import 'package:sky/painting.dart';
import 'package:flutter/painting.dart';
import 'package:vector_math/vector_math_64.dart';
import 'box.dart';
import 'object.dart';
export 'package:sky/src/painting/box_painter.dart';
export 'package:flutter/src/painting/box_painter.dart';
/// A base class for render objects that resemble their children
///
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment