File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change 20
20
import 'package:flutter/material.dart' ;
21
21
import 'package:flutter_gen/gen_l10n/app_localizations.dart' ;
22
22
import 'package:provider/provider.dart' ;
23
- import 'package:wger/helpers/misc.dart' ;
24
23
import 'package:wger/providers/exercises.dart' ;
25
24
26
- class AboutEntry extends StatelessWidget {
27
- final String url;
28
- final String title;
29
- final String content;
30
- final Icon icon;
31
-
32
- const AboutEntry ({
33
- required this .title,
34
- required this .content,
35
- required this .url,
36
- required this .icon,
37
- });
38
-
39
- @override
40
- Widget build (BuildContext context) {
41
- return ListTile (
42
- leading: icon,
43
- title: Text (title),
44
- subtitle: Column (
45
- crossAxisAlignment: CrossAxisAlignment .start,
46
- children: [
47
- Text (content),
48
- Text (
49
- url,
50
- style: const TextStyle (color: Colors .blue),
51
- ),
52
- ],
53
- ),
54
- contentPadding: EdgeInsets .zero,
55
- onTap: () async => launchURL (url, context),
56
- );
57
- }
58
- }
59
-
60
25
class SettingsPage extends StatefulWidget {
61
26
static String routeName = '/SettingsPage' ;
62
27
You can’t perform that action at this time.
0 commit comments