Upgrade dependencies after upgrade Flutter 3.22.2

This commit is contained in:
DatDang
2024-07-09 11:32:42 +07:00
committed by Dat H. Pham
parent 1b70226c0f
commit e8eb67bf63
58 changed files with 552 additions and 326 deletions
@@ -156,15 +156,15 @@ class DropDownButtonWidget<T> extends StatelessWidget {
offset: const Offset(0.0, -8.0),
scrollbarTheme: ScrollbarThemeData(
radius: const Radius.circular(40),
thickness: MaterialStateProperty.all<double>(6),
thumbVisibility: MaterialStateProperty.all<bool>(true),
thickness: WidgetStateProperty.all<double>(6),
thumbVisibility: WidgetStateProperty.all<bool>(true),
),
),
iconStyleData: IconStyleData(icon: iconArrowDown ?? SvgPicture.asset(imagePaths.icDropDown)),
menuItemStyleData: MenuItemStyleData(
height: heightItem,
padding: const EdgeInsets.symmetric(horizontal: 12),
overlayColor: MaterialStateProperty.resolveWith<Color>((Set<MaterialState> states) => supportSelectionIcon ? Colors.white : Colors.black12)
overlayColor: WidgetStateProperty.resolveWith<Color>((Set<WidgetState> states) => supportSelectionIcon ? Colors.white : Colors.black12)
),
onMenuStateChange: onMenuStateChange,
),