1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

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

This commit is contained in:
Tushar Ojha
2021-01-30 02:40:40 +05:30
committed by GitHub
parent 60c5cf97eb
commit 2f6767f95e
4 changed files with 9 additions and 6 deletions

View File

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

View File

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

View File

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

View File

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