1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-10 06:48:26 +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';