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
4 changes: 4 additions & 0 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
# packages, and plugins designed to encourage good coding practices.
include: package:flutter_lints/flutter.yaml

analyzer:
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: ""
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
Loading