further improved accessibility across the application and add tooltips to action buttons
This commit is contained in:
@@ -22,13 +22,18 @@ Future<void> showDetailsBottomSheet(
|
||||
padding: EdgeInsets.only(
|
||||
bottom: 16 + MediaQuery.viewInsetsOf(sheetContext).bottom,
|
||||
),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
if (header != null) ...[header, const Divider(height: 1)],
|
||||
...children(sheetContext),
|
||||
],
|
||||
// Ohne dieses innere Material malt ListTile-Ink aufs Sheet-Material
|
||||
// außerhalb des Scrollbereichs und stretcht beim Overscroll nicht mit.
|
||||
child: Material(
|
||||
type: MaterialType.transparency,
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
children: [
|
||||
if (header != null) ...[header, const Divider(height: 1)],
|
||||
...children(sheetContext),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user