Rename package:sky to package:flutter

This commit is contained in:
Adam Barth
2015-10-09 20:44:52 -07:00
parent 5b37f8750d
commit 65eba90843
187 changed files with 331 additions and 331 deletions

View File

@@ -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 });

View File

@@ -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) {

View File

@@ -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) {

View File

@@ -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());

View File

@@ -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);

View File

@@ -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);

View File

@@ -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 });

View File

@@ -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 });

View File

@@ -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(

View File

@@ -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);

View File

@@ -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);

View File

@@ -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";

View File

@@ -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();

View File

@@ -1,9 +1,9 @@
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

View File

@@ -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();

View File

@@ -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';

View File

@@ -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';

View File

@@ -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();

View File

@@ -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();