This commit is contained in:
Patrick Alvin Alcala 2025-02-05 17:35:57 +08:00
parent 17a1430ef0
commit 9598e17abb

View file

@ -44,8 +44,17 @@ class DropDownWidget extends StatelessWidget {
)
],
onSelected: onChanged,
width: MediaQuery.of(context).size.width,
textStyle: GoogleFonts.outfit(textStyle: TextStyle(color: Colors.white))),
width: MediaQuery.of(context).size.width * 0.8,
menuHeight: MediaQuery.of(context).size.width * 0.9,
textStyle: GoogleFonts.outfit(textStyle: TextStyle(color: Colors.white)),
menuStyle: MenuStyle(
backgroundColor: WidgetStateProperty.all<Color>(const Color.fromRGBO(13, 84, 106, 0.7)),
padding: WidgetStateProperty.all(const EdgeInsets.symmetric(vertical: 8.0)),
shape: WidgetStateProperty.all(RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12), // Set the border radius for the dropdown menu
)),
),
),
),
],
);