• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

icapps / flutter-template / 12908916411

22 Jan 2025 01:09PM UTC coverage: 59.889% (-3.5%) from 63.402%
12908916411

push

github

web-flow
Merge pull request #351 from icapps/feature/#336-base-screen

Feature/#336 base screen

412 of 612 new or added lines in 62 files covered. (67.32%)

12 existing lines in 7 files now uncovered.

1184 of 1977 relevant lines covered (59.89%)

2.17 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

33.33
/lib/viewmodel/debug/debug_platform_selector_viewmodel.dart
1
import 'package:flutter/foundation.dart';
2
import 'package:flutter_template/navigator/main_navigator.dart';
3
import 'package:flutter_template/viewmodel/global/global_viewmodel.dart';
4
import 'package:icapps_architecture/icapps_architecture.dart';
5
import 'package:injectable/injectable.dart';
6

7
@injectable
8
class DebugPlatformSelectorViewModel with ChangeNotifierEx {
9
  final MainNavigator _navigator;
10
  final GlobalViewModel _globalViewModel;
11

NEW
12
  TargetPlatform? get selectedPlatform => _globalViewModel.targetPlatform;
×
13

14
  DebugPlatformSelectorViewModel(
1✔
15
    this._globalViewModel,
16
    this._navigator,
17
  );
18

19
  void onBackClicked() => _navigator.goBack();
3✔
20

NEW
21
  void setSelectedPlatformToDefault() => _globalViewModel.setSelectedPlatformToDefault();
×
22

NEW
23
  void setSelectedPlatformToAndroid() => _globalViewModel.setSelectedPlatformToAndroid();
×
24

NEW
25
  void setSelectedPlatformToIOS() => _globalViewModel.setSelectedPlatformToIOS();
×
26
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc