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

Rename package:sky to package:flutter

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