From 2f6767f95e40df02a1c9db5645ae6aca2b3394b6 Mon Sep 17 00:00:00 2001 From: Tushar Ojha Date: Sat, 30 Jan 2021 02:40:40 +0530 Subject: [PATCH] [samples_index] updated source code url for form_app (#688) --- experimental/desktop_photo_search/lib/main.dart | 4 ++-- .../lib/src/widgets/about_dialog.dart | 8 ++++++-- web/samples_index/lib/src/samples.yaml | 2 +- web/samples_index/pubspec.yaml | 1 - 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/experimental/desktop_photo_search/lib/main.dart b/experimental/desktop_photo_search/lib/main.dart index 18dbace99..fc16c9da1 100644 --- a/experimental/desktop_photo_search/lib/main.dart +++ b/experimental/desktop_photo_search/lib/main.dart @@ -82,8 +82,8 @@ class UnsplashHomePage extends StatelessWidget { label: 'About ...', onClicked: () { showDialog( - context: context, - builder: (context) => PolicyDialog(), + context: context, + builder: (context) => PolicyDialog(), ); }, ), diff --git a/experimental/desktop_photo_search/lib/src/widgets/about_dialog.dart b/experimental/desktop_photo_search/lib/src/widgets/about_dialog.dart index b7a39d94a..5eb2e181d 100644 --- a/experimental/desktop_photo_search/lib/src/widgets/about_dialog.dart +++ b/experimental/desktop_photo_search/lib/src/widgets/about_dialog.dart @@ -45,7 +45,9 @@ class PolicyDialog extends StatelessWidget { children: [ TextSpan( text: 'https://policies.google.com/terms', - style: TextStyle(fontWeight: FontWeight.bold, color: Colors.lightBlue), + style: TextStyle( + fontWeight: FontWeight.bold, + color: Colors.lightBlue), recognizer: TapGestureRecognizer() ..onTap = () async { final url = 'https://policies.google.com/terms'; @@ -65,7 +67,9 @@ class PolicyDialog extends StatelessWidget { children: [ TextSpan( text: 'https://unsplash.com/terms', - style: TextStyle(fontWeight: FontWeight.bold, color: Colors.lightBlue), + style: TextStyle( + fontWeight: FontWeight.bold, + color: Colors.lightBlue), recognizer: TapGestureRecognizer() ..onTap = () async { final url = 'https://unsplash.com/terms'; diff --git a/web/samples_index/lib/src/samples.yaml b/web/samples_index/lib/src/samples.yaml index 650c9f89e..0b3dcecce 100644 --- a/web/samples_index/lib/src/samples.yaml +++ b/web/samples_index/lib/src/samples.yaml @@ -348,7 +348,7 @@ samples: alt: Form App screenshot - url: images/form_app3.png alt: Form App screenshot - source: https://github.com/flutter/samples/tree/master/experimental/form_app + source: https://github.com/flutter/samples/tree/master/form_app description: > A Flutter sample app that shows how to use Forms. difficulty: intermediate diff --git a/web/samples_index/pubspec.yaml b/web/samples_index/pubspec.yaml index e771a5cd8..0a52487df 100644 --- a/web/samples_index/pubspec.yaml +++ b/web/samples_index/pubspec.yaml @@ -24,4 +24,3 @@ dev_dependencies: build_web_compilers: ^2.7.0 tuneup: ^0.3.6 image: ^2.1.0 -