gesture feature initial
This commit is contained in:
@@ -112,6 +112,13 @@ _CategoryGroups _buildCategories() {
|
||||
sections: browsingSettingsSections,
|
||||
onTap: (context) => BrowsingSettingsRoute().push(context),
|
||||
),
|
||||
_SettingsCategoryDefinition(
|
||||
title: 'Gestures',
|
||||
subtitle: 'Stroke gestures for browser actions',
|
||||
icon: MdiIcons.gestureSwipe,
|
||||
keywords: const ['gesture', 'swipe', 'stroke'],
|
||||
onTap: (context) => GestureSettingsRoute().push(context),
|
||||
),
|
||||
_SettingsCategoryDefinition(
|
||||
title: 'Toolbar & Layout',
|
||||
subtitle: 'Tab bar, toolbar, quick switcher, tab view',
|
||||
|
||||
@@ -167,6 +167,7 @@ class SettingsCustomScrollScaffold extends StatelessWidget {
|
||||
final TextEditingController? searchController;
|
||||
final String searchHintText;
|
||||
final List<Widget> slivers;
|
||||
final Widget? floatingActionButton;
|
||||
|
||||
const SettingsCustomScrollScaffold({
|
||||
super.key,
|
||||
@@ -175,11 +176,13 @@ class SettingsCustomScrollScaffold extends StatelessWidget {
|
||||
this.actions = const [],
|
||||
this.searchController,
|
||||
this.searchHintText = 'Search settings',
|
||||
this.floatingActionButton,
|
||||
});
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Scaffold(
|
||||
floatingActionButton: floatingActionButton,
|
||||
body: SafeArea(
|
||||
child: FadingScroll(
|
||||
fadingSize: 25,
|
||||
|
||||
Reference in New Issue
Block a user