Fix: Rendering Overflow FeedbackDialog

master
Rafael 2024-05-16 13:28:57 +02:00
parent da81a99c7b
commit 13a1651af7
1 changed files with 133 additions and 129 deletions

View File

@ -1,8 +1,7 @@
import 'package:cofounderella/pages/user_data_page.dart';
import 'package:cofounderella/services/auth/auth_service.dart';
import 'package:cofounderella/pages/settings_page.dart';
import 'package:flutter/material.dart'; import 'package:flutter/material.dart';
import '../pages/user_data_page.dart';
import '../pages/settings_page.dart';
import '../services/auth/auth_service.dart';
import 'feedback_dialog.dart'; import 'feedback_dialog.dart';
class MyDrawer extends StatelessWidget { class MyDrawer extends StatelessWidget {
@ -18,12 +17,15 @@ class MyDrawer extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Drawer( return Drawer(
backgroundColor: Theme.of(context).colorScheme.background, backgroundColor: Theme.of(context).colorScheme.background,
child: CustomScrollView(slivers: [
SliverFillRemaining(
hasScrollBody: false,
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
// logo
Column( Column(
children: [ children: [
// logo
DrawerHeader( DrawerHeader(
child: Center( child: Center(
child: Icon( child: Icon(
@ -153,6 +155,8 @@ class MyDrawer extends StatelessWidget {
), ),
], ],
), ),
),
]),
); );
} }
} }