Upgrade dependencies after upgrade Flutter 3.22.2
This commit is contained in:
@@ -39,7 +39,7 @@ mixin PopupContextMenuActionMixin {
|
||||
|
||||
Widget buildCancelButton(BuildContext context) {
|
||||
return MouseRegion(
|
||||
cursor: PlatformInfo.isWeb ? MaterialStateMouseCursor.clickable : MouseCursor.defer,
|
||||
cursor: PlatformInfo.isWeb ? WidgetStateMouseCursor.clickable : MouseCursor.defer,
|
||||
child: CupertinoActionSheetAction(
|
||||
child: Text(
|
||||
AppLocalizations.of(context).cancel,
|
||||
|
||||
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user