Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/screens/dashboard/dashboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ import 'package:ccxgui/utils/constants.dart';
import 'components/start_stop_button.dart';

class Dashboard extends StatelessWidget {
final ScrollController controller = ScrollController();
@override
Widget build(BuildContext context) {
return Material(
child: ListView(
controller: controller,
children: [
Row(
mainAxisSize: MainAxisSize.max,
Expand Down
2 changes: 2 additions & 0 deletions lib/screens/settings/basic_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import 'components/custom_swtich_listTile.dart';
import 'components/custom_textfield.dart';

class BasicSettingsScreen extends StatelessWidget {
final ScrollController controller = ScrollController();
@override
Widget build(BuildContext context) {
return BlocBuilder<SettingsBloc, SettingsState>(
Expand Down Expand Up @@ -50,6 +51,7 @@ class BasicSettingsScreen extends StatelessWidget {
body: Padding(
padding: const EdgeInsets.all(8.0),
child: ListView(
controller: controller,
children: [
CustomTextField(
title: 'Output file name (press enter to save)',
Expand Down
2 changes: 2 additions & 0 deletions lib/screens/settings/hardsubx_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import 'package:ccxgui/screens/settings/components/custom_textfield.dart';
import 'package:ccxgui/utils/constants.dart';

class HardSubxSettingsScreen extends StatelessWidget {
final ScrollController controller = ScrollController();
@override
Widget build(BuildContext context) {
return BlocBuilder<SettingsBloc, SettingsState>(
Expand Down Expand Up @@ -56,6 +57,7 @@ class HardSubxSettingsScreen extends StatelessWidget {
body: Padding(
padding: const EdgeInsets.all(8.0),
child: ListView(
controller: controller,
children: [
CustomSwitchListTile(
title: 'HardSubx',
Expand Down
2 changes: 2 additions & 0 deletions lib/screens/settings/input_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import 'components/custom_swtich_listTile.dart';
import 'components/custom_textfield.dart';

class InputSettingsScreen extends StatelessWidget {
final ScrollController controller = ScrollController();
@override
Widget build(BuildContext context) {
return BlocBuilder<SettingsBloc, SettingsState>(
Expand Down Expand Up @@ -46,6 +47,7 @@ class InputSettingsScreen extends StatelessWidget {
body: Padding(
padding: const EdgeInsets.all(8.0),
child: ListView(
controller: controller,
children: [
CustomSwitchListTile(
title: 'Fix pts jumps',
Expand Down
2 changes: 2 additions & 0 deletions lib/screens/settings/obscure_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import 'package:ccxgui/screens/settings/components/custom_textfield.dart';
import 'components/custom_swtich_listTile.dart';

class ObscureSettingsScreen extends StatelessWidget {
final ScrollController controller = ScrollController();
@override
Widget build(BuildContext context) {
return BlocBuilder<SettingsBloc, SettingsState>(
Expand Down Expand Up @@ -41,6 +42,7 @@ class ObscureSettingsScreen extends StatelessWidget {
body: Padding(
padding: const EdgeInsets.all(8.0),
child: ListView(
controller: controller,
children: [
CustomSwitchListTile(
title: 'Panasonic DMR-ES15',
Expand Down
2 changes: 2 additions & 0 deletions lib/screens/settings/output_settings.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import 'components/custom_swtich_listTile.dart';
import 'components/custom_textfield.dart';

class OutputSettingsScreen extends StatelessWidget {
final ScrollController controller = ScrollController();
@override
Widget build(BuildContext context) {
return BlocBuilder<SettingsBloc, SettingsState>(
Expand Down Expand Up @@ -72,6 +73,7 @@ class OutputSettingsScreen extends StatelessWidget {
body: Padding(
padding: const EdgeInsets.all(8.0),
child: ListView(
controller: controller,
children: [
CustomSwitchListTile(
title: 'BOM',
Expand Down