Upgrade Flutter version to 3.41.9 (#3213)

* commit generated files and remove codegen metadata

* remove hive_generator dependency

* update dependencies

* update intl

* update ios project files

* update native code

* update android deps

* update image name in ci

* revert impeller

* re-ignore min version error

* fix cw_decred dependency

* update hive in cw_core

* fix docker build cache for decred

* fix conflict

* prevent frozen coins being reset on coin info refresh

* fix for makeSecure

---------

Co-authored-by: Omar Hatem <omarh.ismail1@gmail.com>
This commit is contained in:
malik1004x
2026-06-26 16:03:31 +03:00
committed by GitHub
co-authored by Omar Hatem
parent eaa8338a52
commit d09391bf99
77 changed files with 1949 additions and 1133 deletions
+16 -16
View File
@@ -3,37 +3,37 @@ import 'package:cw_core/hive_type_ids.dart';
import 'package:cw_core/keyable.dart';
import 'package:hive/hive.dart';
part 'anonpay_invoice_info.g.dart';
part 'anonpay_invoice_info.part.dart';
@HiveType(typeId: AnonpayInvoiceInfo.typeId)
// @HiveType(typeId: AnonpayInvoiceInfo.typeId)
class AnonpayInvoiceInfo extends HiveObject with Keyable implements AnonpayInfoBase {
@HiveField(0)
// @HiveField(0)
final String invoiceId;
@HiveField(1)
// @HiveField(1)
String status;
@HiveField(2)
// @HiveField(2)
final double? fiatAmount;
@HiveField(3)
// @HiveField(3)
final String? fiatEquiv;
@HiveField(4)
// @HiveField(4)
final double? amountTo;
@HiveField(5)
// @HiveField(5)
final String coinTo;
@HiveField(6)
// @HiveField(6)
final String address;
@HiveField(7)
// @HiveField(7)
final String clearnetUrl;
@HiveField(8)
// @HiveField(8)
final String onionUrl;
@HiveField(9)
// @HiveField(9)
final String clearnetStatusUrl;
@HiveField(10)
// @HiveField(10)
final String onionStatusUrl;
@HiveField(11)
// @HiveField(11)
final DateTime createdAt;
@HiveField(12)
// @HiveField(12)
final String walletId;
@HiveField(13)
// @HiveField(13)
final String provider;
static const typeId = ANONPAY_INVOICE_INFO_TYPE_ID;
@@ -0,0 +1,80 @@
// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'anonpay_invoice_info.dart';
// **************************************************************************
// TypeAdapterGenerator
// **************************************************************************
class AnonpayInvoiceInfoAdapter extends TypeAdapter<AnonpayInvoiceInfo> {
@override
final int typeId = 10;
@override
AnonpayInvoiceInfo read(BinaryReader reader) {
final numOfFields = reader.readByte();
final fields = <int, dynamic>{
for (int i = 0; i < numOfFields; i++) reader.readByte(): reader.read(),
};
return AnonpayInvoiceInfo(
invoiceId: fields[0] as String,
clearnetUrl: fields[7] as String,
onionUrl: fields[8] as String,
clearnetStatusUrl: fields[9] as String,
onionStatusUrl: fields[10] as String,
status: fields[1] as String,
fiatAmount: fields[2] as double?,
fiatEquiv: fields[3] as String?,
amountTo: fields[4] as double?,
coinTo: fields[5] as String,
address: fields[6] as String,
createdAt: fields[11] as DateTime,
walletId: fields[12] as String,
provider: fields[13] as String,
);
}
@override
void write(BinaryWriter writer, AnonpayInvoiceInfo obj) {
writer
..writeByte(14)
..writeByte(0)
..write(obj.invoiceId)
..writeByte(1)
..write(obj.status)
..writeByte(2)
..write(obj.fiatAmount)
..writeByte(3)
..write(obj.fiatEquiv)
..writeByte(4)
..write(obj.amountTo)
..writeByte(5)
..write(obj.coinTo)
..writeByte(6)
..write(obj.address)
..writeByte(7)
..write(obj.clearnetUrl)
..writeByte(8)
..write(obj.onionUrl)
..writeByte(9)
..write(obj.clearnetStatusUrl)
..writeByte(10)
..write(obj.onionStatusUrl)
..writeByte(11)
..write(obj.createdAt)
..writeByte(12)
..write(obj.walletId)
..writeByte(13)
..write(obj.provider);
}
@override
int get hashCode => typeId.hashCode;
@override
bool operator ==(Object other) =>
identical(this, other) ||
other is AnonpayInvoiceInfoAdapter &&
runtimeType == other.runtimeType &&
typeId == other.typeId;
}