[samples_index] updated source code url for form_app (#688)

pull/694/head
Tushar Ojha 4 years ago committed by GitHub
parent 60c5cf97eb
commit 2f6767f95e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -82,8 +82,8 @@ class UnsplashHomePage extends StatelessWidget {
label: 'About ...',
onClicked: () {
showDialog<void>(
context: context,
builder: (context) => PolicyDialog(),
context: context,
builder: (context) => PolicyDialog(),
);
},
),

@ -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';
@ -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';

@ -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

@ -24,4 +24,3 @@ dev_dependencies:
build_web_compilers: ^2.7.0
tuneup: ^0.3.6
image: ^2.1.0

Loading…
Cancel
Save