Make scrollbars draggable
@ -227,7 +227,9 @@ class _HomePageState extends State<HomePage> {
children: [
Expanded(
child: Scrollbar(
interactive: true,
child: ListView(
primary: true,
// Needed for the drawer header to also render in the statusbar
padding: EdgeInsets.zero,
@ -163,7 +163,10 @@ class _LoginPageState extends State<LoginPage> {
),
)
: Center(
shrinkWrap: true,
padding: const EdgeInsets.symmetric(vertical: 40, horizontal: 20),
@ -236,5 +239,6 @@ class _LoginPageState extends State<LoginPage> {
);
}
@ -41,7 +41,9 @@ class NeonListView<T> extends StatelessWidget {
key: scrollKey != null ? PageStorageKey<String>(scrollKey!) : null,
padding: withFloatingActionButton ? const EdgeInsets.only(bottom: 88) : null,
@ -16,7 +16,10 @@ class FilesDetailsPage extends StatelessWidget {
appBar: AppBar(
title: Text(details.name),
body: ListView(
body: Scrollbar(
ColoredBox(
color: Theme.of(context).colorScheme.primary,
@ -62,5 +65,6 @@ class FilesDetailsPage extends StatelessWidget {
],
@ -10,7 +10,9 @@ class SettingsList extends StatelessWidget {
@override
Widget build(final BuildContext context) => Scrollbar(
padding: const EdgeInsets.all(20),
children: categories.cast<Widget>().intersperse(const Divider()).toList(),