Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions experimental/desktop_photo_search/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ class UnsplashHomePage extends StatelessWidget {
label: 'About ...',
onClicked: () {
showDialog<void>(
context: context,
builder: (context) => PolicyDialog(),
context: context,
builder: (context) => PolicyDialog(),
);
},
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@ class PolicyDialog extends StatelessWidget {
children: <TextSpan>[
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';
Expand All @@ -65,7 +67,9 @@ class PolicyDialog extends StatelessWidget {
children: <TextSpan>[
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';
Expand Down
2 changes: 1 addition & 1 deletion web/samples_index/lib/src/samples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion web/samples_index/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,3 @@ dev_dependencies:
build_web_compilers: ^2.7.0
tuneup: ^0.3.6
image: ^2.1.0