From 4618754bd10a8316292715fa94b3c0fc1c2afad0 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Thu, 6 Feb 2020 14:21:39 -0800 Subject: [PATCH 1/3] update committed pubspec.lock files --- web/charts/pubspec.lock | 2 +- web/slide_puzzle/pubspec.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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/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: From 6a8d7fdacd0d57ac8bafb5c2d3c4c7bc1f86654e Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Thu, 6 Feb 2020 14:23:32 -0800 Subject: [PATCH 2/3] Remove entry for gallery sample: it was removed! --- web/peanut.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/web/peanut.yaml b/web/peanut.yaml index 327fc821c4c..bdd01ca909b 100644 --- a/web/peanut.yaml +++ b/web/peanut.yaml @@ -4,7 +4,6 @@ directories: - charts/web - dad_jokes/web - filipino_cuisine/web -- gallery/web - github_dataviz/web - particle_background/web - slide_puzzle/web From 792b4ace6096dbbacd42fc2f3960685cddc374a9 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Thu, 6 Feb 2020 14:29:00 -0800 Subject: [PATCH 3/3] web: remove spinning square demo We've moved well beyond this --- web/peanut.yaml | 1 - web/spinning_square/README.md | 4 --- web/spinning_square/assets/preview.png | Bin 3327 -> 0 bytes web/spinning_square/lib/main.dart | 48 ------------------------- web/spinning_square/pubspec.lock | 43 ---------------------- web/spinning_square/pubspec.yaml | 11 ------ web/spinning_square/web/index.html | 11 ------ 7 files changed, 118 deletions(-) delete mode 100644 web/spinning_square/README.md delete mode 100644 web/spinning_square/assets/preview.png delete mode 100644 web/spinning_square/lib/main.dart delete mode 100644 web/spinning_square/pubspec.lock delete mode 100644 web/spinning_square/pubspec.yaml delete mode 100644 web/spinning_square/web/index.html diff --git a/web/peanut.yaml b/web/peanut.yaml index bdd01ca909b..47cb657b333 100644 --- a/web/peanut.yaml +++ b/web/peanut.yaml @@ -7,7 +7,6 @@ directories: - github_dataviz/web - particle_background/web - slide_puzzle/web -- spinning_square/web - timeflow/web - vision_challenge/web 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 6e14fb569f4dfc0bd026d7c6a09909dc2082803a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3327 zcmZ`+3p7+~8y=-(+`6FCl+q-Mm}1Cf)8)9OVchSEqoE;2W;7$^9HXe@DCs8c6Qv=y zVq)ahAW6B@xEyl^L!qJ3xTVtB-#_a7=d{-O|Gn0?_V>N-^Sqbm-RoOxpLKS!Q$l0V zC=^O*pS`s!3MI2mx^$K;mRht9{d!9Jk`3MCxCe!Lkf!h@Xo>VJLv^*=iz;qgCqkhX z$&%f@Y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;? zm6xP(E7AfU*g-$g*m+Dp8K8u=`VF$Vx$sgzd-k+)2)-1a#H&*6{Zk5!)*d z-&KN@V|&M3wxzOrKP_Wc?Snip69l+Fju^GG&5c>544b?%EL`dXDX{{|2Sq`3m^oX{ 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 @@ - - - - - - - - - - -