Adjust padding for leading ModernGlassButton in PublicFileViewer
This commit is contained in:
@@ -312,12 +312,12 @@ class _PublicFileViewerState extends State<PublicFileViewer> {
|
|||||||
elevation: 0,
|
elevation: 0,
|
||||||
leading: _fileData != null
|
leading: _fileData != null
|
||||||
? Padding(
|
? Padding(
|
||||||
padding: const EdgeInsets.only(left: 8, top: 4, bottom: 4),
|
padding: const EdgeInsets.only(left: 8, top: 8, bottom: 4),
|
||||||
child: ModernGlassButton(
|
child: ModernGlassButton(
|
||||||
onPressed: _downloadFile,
|
onPressed: _downloadFile,
|
||||||
padding: EdgeInsets.zero,
|
padding: EdgeInsets.zero,
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: 100,
|
width: 104,
|
||||||
child: const Center(child: Icon(Icons.download, size: 28)),
|
child: const Center(child: Icon(Icons.download, size: 28)),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user