mirror of
https://github.com/foss42/apidash.git
synced 2025-05-31 14:23:45 +08:00
feat: Improve import dialog UI with better padding and spacing
This commit is contained in:
@ -24,7 +24,8 @@ showImportDialog({
|
||||
Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
const Text("Import "),
|
||||
const Text("Import ",style: const TextStyle(fontWeight: FontWeight.bold)),
|
||||
const SizedBox(width:8),
|
||||
DropdownButtonImportFormat(
|
||||
importFormat: fmt,
|
||||
onChanged: (format) {
|
||||
@ -38,9 +39,11 @@ showImportDialog({
|
||||
),
|
||||
],
|
||||
),
|
||||
const SizedBox(height:10),
|
||||
DragAndDropArea(
|
||||
onFileDropped: onFileDropped,
|
||||
),
|
||||
const SizedBox(height:12),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
@ -29,7 +29,8 @@ class SidebarTopMenu extends StatelessWidget {
|
||||
iconSize: 14,
|
||||
offset: offset,
|
||||
onSelected: onSelected,
|
||||
shape: shape,
|
||||
shape: RoundedRectangleBorder (borderRadius: BorderRadius. circular (12)),
|
||||
menuPadding: const EdgeInsets.symmetric(vertical: 3, horizontal: 8),
|
||||
itemBuilder: (BuildContext context) => SidebarMenuOption.values
|
||||
.map<PopupMenuEntry<SidebarMenuOption>>(
|
||||
(e) => PopupMenuItem<SidebarMenuOption>(
|
||||
|
Reference in New Issue
Block a user