feat: update dropdown

This commit is contained in:
efrilm
2025-08-06 19:28:51 +07:00
parent 5e9d5040e7
commit c667584b11
6 changed files with 414 additions and 96 deletions
@@ -3255,10 +3255,10 @@ class __$$UpdateDeliveryTypeImplCopyWithImpl<$Res>
@pragma('vm:prefer-inline')
@override
$Res call({
Object? delivery = freezed,
Object? delivery = null,
}) {
return _then(_$UpdateDeliveryTypeImpl(
freezed == delivery
null == delivery
? _value.delivery
: delivery // ignore: cast_nullable_to_non_nullable
as DeliveryModel,
@@ -3284,12 +3284,12 @@ class _$UpdateDeliveryTypeImpl implements _UpdateDeliveryType {
return identical(this, other) ||
(other.runtimeType == runtimeType &&
other is _$UpdateDeliveryTypeImpl &&
const DeepCollectionEquality().equals(other.delivery, delivery));
(identical(other.delivery, delivery) ||
other.delivery == delivery));
}
@override
int get hashCode =>
Object.hash(runtimeType, const DeepCollectionEquality().hash(delivery));
int get hashCode => Object.hash(runtimeType, delivery);
/// Create a copy of CheckoutEvent
/// with the given fields replaced by the non-null parameter values.
@@ -4063,8 +4063,8 @@ class _$LoadedImpl implements _Loaded {
other.draftName == draftName) &&
(identical(other.orderType, orderType) ||
other.orderType == orderType) &&
const DeepCollectionEquality()
.equals(other.deliveryType, deliveryType));
(identical(other.deliveryType, deliveryType) ||
other.deliveryType == deliveryType));
}
@override
@@ -4080,7 +4080,7 @@ class _$LoadedImpl implements _Loaded {
totalPrice,
draftName,
orderType,
const DeepCollectionEquality().hash(deliveryType));
deliveryType);
/// Create a copy of CheckoutState
/// with the given fields replaced by the non-null parameter values.