This commit is contained in:
Patrick Alvin Alcala 2025-02-10 09:51:04 +08:00
parent 4586256032
commit 5840df0879
16 changed files with 45 additions and 61 deletions

View file

@ -32,7 +32,7 @@ class DropDownWidget extends StatelessWidget {
Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(12), // Set the desired border radius
border: Border.all(color: Colors.white), // Set the border color
border: Border.all(color: const Color.fromRGBO(255, 255, 255, 1)), // Set the border color
),
child: DropdownMenu(
initialSelection: '',
@ -42,14 +42,14 @@ class DropDownWidget extends StatelessWidget {
label: item[listTitle].toString(),
value: item[listTitle],
style: ButtonStyle(
foregroundColor: WidgetStateProperty.all<Color>(Colors.white),
foregroundColor: WidgetStateProperty.all<Color>(const Color.fromRGBO(255, 255, 255, 1)),
textStyle: WidgetStateProperty.all<TextStyle>(
GoogleFonts.outfit(fontSize: 16, fontWeight: FontWeight.w500)))),
],
onSelected: onChanged,
width: MediaQuery.of(context).size.width * 0.8,
menuHeight: MediaQuery.of(context).size.height * 0.8,
textStyle: GoogleFonts.outfit(textStyle: TextStyle(color: Colors.white)),
textStyle: GoogleFonts.outfit(textStyle: const TextStyle(color: Color.fromRGBO(255, 255, 255, 1))),
menuStyle: MenuStyle(
backgroundColor: WidgetStateProperty.all<Color>(const Color.fromRGBO(23, 37, 62, 0.8)),
padding: WidgetStateProperty.all(const EdgeInsets.symmetric(vertical: 16)),