@@ -2,7 +2,6 @@ import 'package:auto_updater/auto_updater.dart';
22import 'package:bot_toast/bot_toast.dart' ;
33import 'package:flutter/foundation.dart' ;
44import 'package:flutter/material.dart' ;
5- import 'package:preference_list/preference_list.dart' ;
65import 'package:window_manager/window_manager.dart' ;
76
87class HomePage extends StatefulWidget {
@@ -51,31 +50,31 @@ class _HomePageState extends State<HomePage> with UpdaterListener {
5150 }
5251
5352 Widget _buildBody (BuildContext context) {
54- return PreferenceList (
53+ return ListView (
5554 children: < Widget > [
56- PreferenceListSection (
57- title: const Text ('METHODS' ),
55+ Column (
56+ // title: const Text('METHODS'),
5857 children: [
59- PreferenceListItem (
58+ ListTile (
6059 title: const Text ('setFeedURL' ),
61- detailText : Text (_feedURL),
60+ trailing : Text (_feedURL),
6261 onTap: () {
6362 _handleClickSetFeedURL ();
6463 },
6564 ),
66- PreferenceListItem (
65+ ListTile (
6766 title: const Text ('checkForUpdates' ),
6867 onTap: () {
6968 _handleClickCheckForUpdates ();
7069 },
7170 ),
72- PreferenceListItem (
71+ ListTile (
7372 title: const Text ('checkForUpdatesWithoutUI' ),
7473 onTap: () {
7574 _handleClickCheckForUpdatesWithoutUI ();
7675 },
7776 ),
78- PreferenceListItem (
77+ ListTile (
7978 title: const Text ('setScheduledCheckInterval' ),
8079 onTap: () {
8180 _handleClickSetScheduledCheckInterval ();
0 commit comments