Skip to content

Commit 2f6767f

Browse files
authored
[samples_index] updated source code url for form_app (#688)
1 parent 60c5cf9 commit 2f6767f

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

experimental/desktop_photo_search/lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ class UnsplashHomePage extends StatelessWidget {
8282
label: 'About ...',
8383
onClicked: () {
8484
showDialog<void>(
85-
context: context,
86-
builder: (context) => PolicyDialog(),
85+
context: context,
86+
builder: (context) => PolicyDialog(),
8787
);
8888
},
8989
),

experimental/desktop_photo_search/lib/src/widgets/about_dialog.dart

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ class PolicyDialog extends StatelessWidget {
4545
children: <TextSpan>[
4646
TextSpan(
4747
text: 'https://policies.google.com/terms',
48-
style: TextStyle(fontWeight: FontWeight.bold, color: Colors.lightBlue),
48+
style: TextStyle(
49+
fontWeight: FontWeight.bold,
50+
color: Colors.lightBlue),
4951
recognizer: TapGestureRecognizer()
5052
..onTap = () async {
5153
final url = 'https://policies.google.com/terms';
@@ -65,7 +67,9 @@ class PolicyDialog extends StatelessWidget {
6567
children: <TextSpan>[
6668
TextSpan(
6769
text: 'https://unsplash.com/terms',
68-
style: TextStyle(fontWeight: FontWeight.bold, color: Colors.lightBlue),
70+
style: TextStyle(
71+
fontWeight: FontWeight.bold,
72+
color: Colors.lightBlue),
6973
recognizer: TapGestureRecognizer()
7074
..onTap = () async {
7175
final url = 'https://unsplash.com/terms';

web/samples_index/lib/src/samples.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ samples:
348348
alt: Form App screenshot
349349
- url: images/form_app3.png
350350
alt: Form App screenshot
351-
source: https://github.com/flutter/samples/tree/master/experimental/form_app
351+
source: https://github.com/flutter/samples/tree/master/form_app
352352
description: >
353353
A Flutter sample app that shows how to use Forms.
354354
difficulty: intermediate

web/samples_index/pubspec.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ dev_dependencies:
2424
build_web_compilers: ^2.7.0
2525
tuneup: ^0.3.6
2626
image: ^2.1.0
27-

0 commit comments

Comments
 (0)