mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
Update popup_menu_api_type.dart
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import 'package:apidash/consts.dart';
|
||||
import 'package:apidash_core/apidash_core.dart';
|
||||
import 'package:apidash_design_system/apidash_design_system.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@ -16,7 +17,7 @@ class APITypePopupMenu extends StatelessWidget {
|
||||
Widget build(BuildContext context) {
|
||||
return ADPopupMenu<APIType>(
|
||||
tooltip: "Select API Type",
|
||||
width: 100,
|
||||
width: kIsMobile ? 80 : 100,
|
||||
value: apiType?.label,
|
||||
values: APIType.values.map((e) => (e, e.label)),
|
||||
onChanged: onChanged,
|
||||
|
Reference in New Issue
Block a user