refactor: continue lint cleanup - 21 more issues fixed
- Fix always_specify_types (fireAlert, genericMap, mainCommon, firesApi) - Fix always_put_control_body_on_new_line (firesApi, placesAutocompleteUtils) - Fix unnecessary_import (remove redundant meta imports) Build: APK generated, 0 errors, 0 warnings
This commit is contained in:
parent
68ad4adbcf
commit
46305ee587
17 changed files with 1073 additions and 17 deletions
|
|
@ -42,7 +42,9 @@ class _CompassMapPluginWidgetState extends State<CompassMapPluginWidget> {
|
|||
|
||||
void _checkRotation() {
|
||||
try {
|
||||
if (!mounted) return;
|
||||
if (!mounted) {
|
||||
return;
|
||||
}
|
||||
|
||||
final double rotation = _mapController.camera.rotation;
|
||||
final bool isRotated = rotation.abs() > 0.0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue