feat: make shortcuts list collapsible (#482)

Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
Julien9969 2025-09-15 21:04:08 +02:00 committed by GitHub
parent a711e133a4
commit 9c31542c95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 35 additions and 23 deletions

View file

@ -53,6 +53,10 @@ class FladderTheme {
margin: EdgeInsets.zero,
shape: smallShape,
),
expansionTileTheme: ExpansionTileThemeData(
shape: RoundedRectangleBorder(borderRadius: FladderTheme.defaultShape.borderRadius),
collapsedShape: RoundedRectangleBorder(borderRadius: FladderTheme.defaultShape.borderRadius),
),
progressIndicatorTheme: const ProgressIndicatorThemeData(),
floatingActionButtonTheme: FloatingActionButtonThemeData(
backgroundColor: scheme?.secondaryContainer,
@ -62,7 +66,7 @@ class FladderTheme {
snackBarTheme: SnackBarThemeData(
backgroundColor: scheme?.secondary,
behavior: SnackBarBehavior.fixed,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16)),
shape: RoundedRectangleBorder(borderRadius: FladderTheme.defaultShape.borderRadius),
elevation: 5,
dismissDirection: DismissDirection.horizontal,
),