File tree Expand file tree Collapse file tree 1 file changed +14
-21
lines changed
Expand file tree Collapse file tree 1 file changed +14
-21
lines changed Original file line number Diff line number Diff line change @@ -72,28 +72,21 @@ class AppDialog extends StatelessWidget {
7272 contentPadding: EdgeInsets .zero,
7373 content: SizedBox (
7474 width: MediaQuery .of (context).size.width,
75- child: Theme (
76- data: Theme .of (context).copyWith (
77- listTileTheme: ListTileThemeData (
78- dense: currentPlatform.isDesktop,
79- ),
80- ),
81- child: ListView (
82- shrinkWrap: true ,
83- children: [
84- if (title != null )
85- Transform .translate (
86- offset: Offset (0 , - 1 ),
87- child: _AppDialogTitle (
88- title: title! ,
89- ellipsisTitleOnOverflow: ellipsisTitleOnOverflow,
90- displayCloseButton: displayCloseButton,
91- borderRadius: borderRadius,
92- ),
75+ child: ListView (
76+ shrinkWrap: true ,
77+ children: [
78+ if (title != null )
79+ Transform .translate (
80+ offset: Offset (0 , - 1 ),
81+ child: _AppDialogTitle (
82+ title: title! ,
83+ ellipsisTitleOnOverflow: ellipsisTitleOnOverflow,
84+ displayCloseButton: displayCloseButton,
85+ borderRadius: borderRadius,
9386 ),
94- ...children ,
95- ] ,
96- ) ,
87+ ) ,
88+ ...children ,
89+ ] ,
9790 ),
9891 ),
9992 actions: actions,
You can’t perform that action at this time.
0 commit comments