Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

analyzer:
errors:
experimental_member_use: ignore
exclude:
- "lib/l10n/**"

linter:
# The lint rules applied to this project can be customized in the
# section below to disable rules from the `package:flutter_lints/flutter.yaml`
Expand Down
1 change: 1 addition & 0 deletions l10n.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
arb-dir: lib/l10n
template-arb-file: app_en.arb
output-localization-file: app_localizations.dart
header: ""
1 change: 0 additions & 1 deletion lib/services/emergency_beacon_service.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// ignore_for_file: experimental_member_use
import 'dart:async';
import 'dart:math';
import 'package:flutter/foundation.dart';
Expand Down
4 changes: 0 additions & 4 deletions lib/services/family_circle_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,9 @@ class FamilyCircleService extends StateNotifier<FamilyCircleState> {
// Ref is currently unused but kept in the constructor so future work
// (FCM push, profile sync) can read other providers without changing the
// call-site contract.
_ref = ref;
_bootstrap();
}

// ignore: unused_field
Ref? _ref;

RealtimeChannel? _peerChannel;
Timer? _publishTimer;
StreamSubscription<Position>? _positionSub;
Expand Down
5 changes: 1 addition & 4 deletions lib/services/webrtc_voice_call_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,10 @@ class VoiceCallState {
/// behind symmetric NAT may fail. Acceptable for hackathon demo on WiFi /
/// 4G with the same operator; production should add a Coturn TURN server.
class WebRtcVoiceCallService extends StateNotifier<VoiceCallState> {
WebRtcVoiceCallService(this._ref) : super(const VoiceCallState()) {
WebRtcVoiceCallService(Ref ref) : super(const VoiceCallState()) {
_bootstrap();
}

// ignore: unused_field
final Ref _ref;

RTCPeerConnection? _pc;
MediaStream? _localStream;
RealtimeChannel? _ringChannel;
Expand Down
3 changes: 1 addition & 2 deletions lib/ui/first_aid_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,7 @@ class _FirstAidScreenState extends ConsumerState<FirstAidScreen> {
_result = res;
});
// Side-channel: keep FirstAidStore primed (used elsewhere) — best-effort.
// ignore: discarded_futures
FirstAidStore.getVerifiedAdvice(query);
unawaited(FirstAidStore.getVerifiedAdvice(query));
} on Object {
setState(() {
_error = 'Could not load first-aid guidance on this device.';
Expand Down
18 changes: 9 additions & 9 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1249,10 +1249,10 @@ packages:
dependency: transitive
description:
name: matcher
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
url: "https://pub.dev"
source: hosted
version: "0.12.19"
version: "0.12.18"
material_color_utilities:
dependency: transitive
description:
Expand All @@ -1265,10 +1265,10 @@ packages:
dependency: transitive
description:
name: meta
sha256: "1741988757a65eb6b36abe716829688cf01910bbf91c34354ff7ec1c3de2b349"
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
url: "https://pub.dev"
source: hosted
version: "1.18.0"
version: "1.17.0"
mgrs_dart:
dependency: transitive
description:
Expand Down Expand Up @@ -1878,10 +1878,10 @@ packages:
dependency: transitive
description:
name: test_api
sha256: "949a932224383300f01be9221c39180316445ecb8e7547f70a41a35bf421fb9e"
sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636"
url: "https://pub.dev"
source: hosted
version: "0.7.11"
version: "0.7.9"
timezone:
dependency: transitive
description:
Expand All @@ -1894,10 +1894,10 @@ packages:
dependency: "direct main"
description:
name: torch_light
sha256: "6a2659cf413d11b838540d15f2a18ead0e7736250cecdacb153cff654beb5c4a"
sha256: a1397443a375c6991151547cb77361085df6cf8aa59999292e683db7385a0d15
url: "https://pub.dev"
source: hosted
version: "2.0.0"
version: "1.1.0"
typed_data:
dependency: transitive
description:
Expand Down Expand Up @@ -2108,4 +2108,4 @@ packages:
version: "2.1.0"
sdks:
dart: ">=3.11.0 <4.0.0"
flutter: ">=3.41.0"
flutter: ">=3.38.4"
Loading