File tree Expand file tree Collapse file tree 6 files changed +12
-0
lines changed Expand file tree Collapse file tree 6 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,12 @@ import 'package:ccxgui/utils/constants.dart';
1515import 'components/start_stop_button.dart' ;
1616
1717class Dashboard extends StatelessWidget {
18+ final ScrollController controller = ScrollController ();
1819 @override
1920 Widget build (BuildContext context) {
2021 return Material (
2122 child: ListView (
23+ controller: controller,
2224 children: [
2325 Row (
2426 mainAxisSize: MainAxisSize .max,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import 'components/custom_swtich_listTile.dart';
1212import 'components/custom_textfield.dart' ;
1313
1414class BasicSettingsScreen extends StatelessWidget {
15+ final ScrollController controller = ScrollController ();
1516 @override
1617 Widget build (BuildContext context) {
1718 return BlocBuilder <SettingsBloc , SettingsState >(
@@ -50,6 +51,7 @@ class BasicSettingsScreen extends StatelessWidget {
5051 body: Padding (
5152 padding: const EdgeInsets .all (8.0 ),
5253 child: ListView (
54+ controller: controller,
5355 children: [
5456 CustomTextField (
5557 title: 'Output file name (press enter to save)' ,
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import 'package:ccxgui/screens/settings/components/custom_textfield.dart';
1212import 'package:ccxgui/utils/constants.dart' ;
1313
1414class HardSubxSettingsScreen extends StatelessWidget {
15+ final ScrollController controller = ScrollController ();
1516 @override
1617 Widget build (BuildContext context) {
1718 return BlocBuilder <SettingsBloc , SettingsState >(
@@ -56,6 +57,7 @@ class HardSubxSettingsScreen extends StatelessWidget {
5657 body: Padding (
5758 padding: const EdgeInsets .all (8.0 ),
5859 child: ListView (
60+ controller: controller,
5961 children: [
6062 CustomSwitchListTile (
6163 title: 'HardSubx' ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ import 'components/custom_swtich_listTile.dart';
1111import 'components/custom_textfield.dart' ;
1212
1313class InputSettingsScreen extends StatelessWidget {
14+ final ScrollController controller = ScrollController ();
1415 @override
1516 Widget build (BuildContext context) {
1617 return BlocBuilder <SettingsBloc , SettingsState >(
@@ -46,6 +47,7 @@ class InputSettingsScreen extends StatelessWidget {
4647 body: Padding (
4748 padding: const EdgeInsets .all (8.0 ),
4849 child: ListView (
50+ controller: controller,
4951 children: [
5052 CustomSwitchListTile (
5153 title: 'Fix pts jumps' ,
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ import 'package:ccxgui/screens/settings/components/custom_textfield.dart';
99import 'components/custom_swtich_listTile.dart' ;
1010
1111class ObscureSettingsScreen extends StatelessWidget {
12+ final ScrollController controller = ScrollController ();
1213 @override
1314 Widget build (BuildContext context) {
1415 return BlocBuilder <SettingsBloc , SettingsState >(
@@ -41,6 +42,7 @@ class ObscureSettingsScreen extends StatelessWidget {
4142 body: Padding (
4243 padding: const EdgeInsets .all (8.0 ),
4344 child: ListView (
45+ controller: controller,
4446 children: [
4547 CustomSwitchListTile (
4648 title: 'Panasonic DMR-ES15' ,
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import 'components/custom_swtich_listTile.dart';
1313import 'components/custom_textfield.dart' ;
1414
1515class OutputSettingsScreen extends StatelessWidget {
16+ final ScrollController controller = ScrollController ();
1617 @override
1718 Widget build (BuildContext context) {
1819 return BlocBuilder <SettingsBloc , SettingsState >(
@@ -72,6 +73,7 @@ class OutputSettingsScreen extends StatelessWidget {
7273 body: Padding (
7374 padding: const EdgeInsets .all (8.0 ),
7475 child: ListView (
76+ controller: controller,
7577 children: [
7678 CustomSwitchListTile (
7779 title: 'BOM' ,
You can’t perform that action at this time.
0 commit comments