refactor: Update dependencies

This commit is contained in:
Krille 2023-05-23 08:40:56 +02:00
parent b1785d4b8a
commit 2bb0dce7a1
No known key found for this signature in database
5 changed files with 236 additions and 228 deletions

View File

@ -59,7 +59,7 @@ class NewPrivateChatView extends StatelessWidget {
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
QrImage(
QrImageView(
data:
'https://matrix.to/#/${Matrix.of(context).client.userID}',
version: QrVersions.auto,

View File

@ -33,7 +33,6 @@ class UnreadRoomsBadge extends StatelessWidget {
.where((r) => (r.isUnread || r.membership == Membership.invite))
.length;
return b.Badge(
alignment: Alignment.bottomRight,
badgeContent: Text(
unreadCount.toString(),
style: TextStyle(
@ -42,13 +41,14 @@ class UnreadRoomsBadge extends StatelessWidget {
),
),
showBadge: unreadCount != 0,
animationType: b.BadgeAnimationType.scale,
badgeColor: Theme.of(context).colorScheme.primary,
position: badgePosition,
elevation: 4,
borderSide: BorderSide(
color: Theme.of(context).colorScheme.background,
width: 2,
badgeStyle: b.BadgeStyle(
badgeColor: Theme.of(context).colorScheme.primary,
elevation: 4,
borderSide: BorderSide(
color: Theme.of(context).colorScheme.background,
width: 2,
),
),
child: child,
);

View File

@ -23,7 +23,7 @@ import package_info_plus
import path_provider_foundation
import record_macos
import share_plus
import shared_preferences_macos
import shared_preferences_foundation
import sqflite
import url_launcher_macos
import video_compress

File diff suppressed because it is too large Load Diff

View File

@ -9,17 +9,17 @@ environment:
dependencies:
adaptive_dialog: ^1.9.0-no-macos.2
animations: ^2.0.7
badges: ^2.0.3
badges: ^3.1.1
blurhash_dart: ^1.1.0
callkeep: ^0.3.2
chewie: ^1.3.6
collection: ^1.16.0
connectivity_plus: ^3.0.2
connectivity_plus: ^4.0.1
cupertino_icons: any
desktop_drop: ^0.4.0
desktop_lifecycle: ^0.1.0
desktop_notifications: ^0.6.3
device_info_plus: ^8.0.0
device_info_plus: ^9.0.1
dynamic_color: ^1.6.0
emoji_picker_flutter: ^1.5.1
emoji_proposal: ^0.0.1
@ -32,26 +32,26 @@ dependencies:
flutter_app_lock: ^3.0.0
flutter_blurhash: ^0.7.0
flutter_cache_manager: ^3.3.0
flutter_foreground_task: ^3.10.0
flutter_foreground_task: ^5.0.0
flutter_highlighter: ^0.1.1
flutter_html: ^3.0.0-beta.1
flutter_html_table: ^3.0.0-beta.1
flutter_linkify: ^6.0.0
flutter_local_notifications: ^12.0.2
flutter_local_notifications: ^14.1.0
flutter_localizations:
sdk: flutter
flutter_map: ^3.1.0
flutter_map: ^4.0.0
flutter_math_fork: ^0.7.1
flutter_olm: ^1.2.0
flutter_openssl_crypto: ^0.1.0
flutter_ringtone_player: ^3.1.1
flutter_secure_storage: ^7.0.1
flutter_secure_storage: ^8.0.0
flutter_typeahead: ^4.3.2
flutter_web_auth_2: ^2.1.1
flutter_webrtc: ^0.9.30+hotfix.2
future_loading_dialog: ^0.2.3
geolocator: ^7.6.2
handy_window: ^0.1.9
handy_window: ^0.3.1
hive: ^2.2.3
hive_flutter: ^1.1.0
http: ^0.13.4
@ -76,12 +76,12 @@ dependencies:
record: ^4.4.4
scroll_to_index: ^3.0.1
share_plus: ^7.0.0
shared_preferences: 2.0.15 # Pinned because https://github.com/flutter/flutter/issues/118401
shared_preferences: ^2.1.1
slugify: ^2.0.0
swipe_to_action: ^0.2.0
tor_detector_web: ^1.1.0
uni_links: ^0.5.1
unifiedpush: ^4.0.3
unifiedpush: ^5.0.0
universal_html: ^2.0.8
url_launcher: ^6.0.20
vibration: ^1.7.4-nullsafety.0
@ -92,7 +92,7 @@ dependencies:
webrtc_interface: ^1.0.13
dev_dependencies:
dart_code_metrics: ^4.10.1
dart_code_metrics: ^5.7.4
flutter_lints: ^2.0.1
flutter_native_splash: ^2.0.3+1
flutter_test: