Upgrade to flutter 3.7.0

This commit is contained in:
Hanh 2023-01-30 17:19:45 +08:00
parent 438029c5a9
commit 74dbfe9e9b
5 changed files with 595 additions and 373 deletions

View File

@ -2,7 +2,6 @@ import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'package:file_picker/file_picker.dart';
import 'package:flutter/material.dart';
import 'package:flutter_foreground_task/flutter_foreground_task.dart';
import 'package:flutter_mobx/flutter_mobx.dart';
@ -10,7 +9,7 @@ import 'package:url_launcher/url_launcher.dart';
import 'package:warp_api/data_fb_generated.dart';
import 'package:warp_api/types.dart';
import 'package:warp_api/warp_api.dart';
import 'package:badges/badges.dart';
import 'package:badges/badges.dart' as Badges;
import 'about.dart';
import 'account.dart';
@ -166,7 +165,7 @@ class HomeInnerState extends State<HomeInnerPage> with SingleTickerProviderState
final unread = active.unread;
final messageTab = unread != 0 ?
Tab(child: Badge(
Tab(child: Badges.Badge(
child: Text(s.messages),
badgeContent: Text('$unread'))) :
Tab(text: s.messages);

View File

@ -388,6 +388,7 @@ class ZWalletAppState extends State<ZWalletApp> {
}
}
await active.restore();
_setProgress(1.0, 'Ready');
progressKey.currentState?.cancelResetTimer();
if (settings.protectOpen) {

View File

@ -9,9 +9,9 @@ import audioplayers_darwin
import awesome_notifications
import connectivity_plus_macos
import network_info_plus_macos
import path_provider_macos
import path_provider_foundation
import share_plus_macos
import shared_preferences_macos
import shared_preferences_foundation
import url_launcher_macos
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {

File diff suppressed because it is too large Load Diff

View File

@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.2.17+357
version: 1.2.17+358
environment:
sdk: ">=2.12.0 <3.0.0"