1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-12 15:58:32 +00:00

General cleanup: consistent quoting, sort dependencies, (#859)

single quotes everywhere
fix comment references
This commit is contained in:
Kevin Moore
2021-08-02 10:57:30 -07:00
committed by GitHub
parent 89093cac71
commit b0745a00d4
10 changed files with 29 additions and 33 deletions

View File

@@ -2,11 +2,11 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
import 'package:bookstore/src/routing.dart';
import 'package:flutter/material.dart';
import 'package:url_launcher/link.dart';
import '../auth/auth.dart';
import '../routing.dart';
class SettingsScreen extends StatefulWidget {
const SettingsScreen({Key? key}) : super(key: key);
@@ -63,8 +63,8 @@ class SettingsContent extends StatelessWidget {
uri: Uri.parse('/book/0'),
builder: (context, followLink) {
return TextButton(
child: const Text('Go directly to /book/0 (Link)'),
onPressed: followLink,
child: const Text('Go directly to /book/0 (Link)'),
);
},
),