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:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user