diff --git a/web/charts/pubspec.lock b/web/charts/pubspec.lock index 256cc47cc60..eaf17ffc4fd 100644 --- a/web/charts/pubspec.lock +++ b/web/charts/pubspec.lock @@ -40,7 +40,7 @@ packages: name: logging url: "https://pub.dartlang.org" source: hosted - version: "0.11.3+2" + version: "0.11.4" meta: dependency: "direct main" description: diff --git a/web/peanut.yaml b/web/peanut.yaml index 327fc821c4c..47cb657b333 100644 --- a/web/peanut.yaml +++ b/web/peanut.yaml @@ -4,11 +4,9 @@ directories: - charts/web - dad_jokes/web - filipino_cuisine/web -- gallery/web - github_dataviz/web - particle_background/web - slide_puzzle/web -- spinning_square/web - timeflow/web - vision_challenge/web diff --git a/web/slide_puzzle/pubspec.lock b/web/slide_puzzle/pubspec.lock index 8131e19badc..14b65484706 100644 --- a/web/slide_puzzle/pubspec.lock +++ b/web/slide_puzzle/pubspec.lock @@ -70,7 +70,7 @@ packages: name: coverage url: "https://pub.dartlang.org" source: hosted - version: "0.13.3+3" + version: "0.13.5" crypto: dependency: transitive description: @@ -122,7 +122,7 @@ packages: name: http_multi_server url: "https://pub.dartlang.org" source: hosted - version: "2.1.0" + version: "2.2.0" http_parser: dependency: transitive description: @@ -157,7 +157,7 @@ packages: name: logging url: "https://pub.dartlang.org" source: hosted - version: "0.11.3+2" + version: "0.11.4" matcher: dependency: transitive description: diff --git a/web/spinning_square/README.md b/web/spinning_square/README.md deleted file mode 100644 index c78ad194f38..00000000000 --- a/web/spinning_square/README.md +++ /dev/null @@ -1,4 +0,0 @@ -Just a spinning square. That's it. Super exciting. - -Original source on -[GitHub](https://github.com/flutter/flutter_web/tree/master/examples/spinning_square). diff --git a/web/spinning_square/assets/preview.png b/web/spinning_square/assets/preview.png deleted file mode 100644 index 6e14fb569f4..00000000000 Binary files a/web/spinning_square/assets/preview.png and /dev/null differ diff --git a/web/spinning_square/lib/main.dart b/web/spinning_square/lib/main.dart deleted file mode 100644 index bc468dc4ba1..00000000000 --- a/web/spinning_square/lib/main.dart +++ /dev/null @@ -1,48 +0,0 @@ -// Copyright 2018 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/material.dart'; - -class SpinningSquare extends StatefulWidget { - @override - _SpinningSquareState createState() => new _SpinningSquareState(); -} - -class _SpinningSquareState extends State - with SingleTickerProviderStateMixin { - AnimationController _animation; - - @override - void initState() { - super.initState(); - // We use 3600 milliseconds instead of 1800 milliseconds because 0.0 -> 1.0 - // represents an entire turn of the square whereas in the other examples - // we used 0.0 -> math.pi, which is only half a turn. - _animation = new AnimationController( - duration: const Duration(milliseconds: 3600), - vsync: this, - )..repeat(); - } - - @override - Widget build(BuildContext context) { - return new RotationTransition( - turns: _animation, - child: new Container( - width: 200.0, - height: 200.0, - color: const Color(0xFF00FF00), - )); - } - - @override - void dispose() { - _animation.dispose(); - super.dispose(); - } -} - -void main() { - runApp(new Center(child: new SpinningSquare())); -} diff --git a/web/spinning_square/pubspec.lock b/web/spinning_square/pubspec.lock deleted file mode 100644 index 7c07229f877..00000000000 --- a/web/spinning_square/pubspec.lock +++ /dev/null @@ -1,43 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - collection: - dependency: transitive - description: - name: collection - url: "https://pub.dartlang.org" - source: hosted - version: "1.14.11" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - meta: - dependency: transitive - description: - name: meta - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.8" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - typed_data: - dependency: transitive - description: - name: typed_data - url: "https://pub.dartlang.org" - source: hosted - version: "1.1.6" - vector_math: - dependency: transitive - description: - name: vector_math - url: "https://pub.dartlang.org" - source: hosted - version: "2.0.8" -sdks: - dart: ">=2.2.2 <3.0.0" diff --git a/web/spinning_square/pubspec.yaml b/web/spinning_square/pubspec.yaml deleted file mode 100644 index 16273591f2f..00000000000 --- a/web/spinning_square/pubspec.yaml +++ /dev/null @@ -1,11 +0,0 @@ -name: flutter_web.examples.spinning_square - -environment: - sdk: ">=2.2.0 <3.0.0" - -dependencies: - flutter: - sdk: flutter -flutter: - assets: - - preview.png \ No newline at end of file diff --git a/web/spinning_square/web/index.html b/web/spinning_square/web/index.html deleted file mode 100644 index 1785ebb8b9e..00000000000 --- a/web/spinning_square/web/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - - -