atsign-foundation / at_widgets

Flutter widgets which aid in building applications using Atsign's technology
https://docs.atsign.com
BSD 3-Clause "New" or "Revised" License
52 stars 33 forks source link

Static analysis failing for at_location_flutter #815

Closed cpswan closed 2 months ago

cpswan commented 4 months ago

Which at_widget package you find issue with?

at_location_flutter

On what platforms did you experience the issue?

Linux

What version are you using?

trunk

What happened?

warning • The parameter type of '==' operators should be non-nullable • lib/map_content/flutter_map/src/layer/tile_layer.dart:1282:17 • non_nullable_equals_parameter

There are also a couple of infos that can possibly be dealt with at the same time

info • Use the null-aware operator '?.' rather than an explicit 'null' comparison • lib/location_modal/location_data_model.dart:93:15 • prefer_null_aware_operators
info • Use the null-aware operator '?.' rather than an explicit 'null' comparison • lib/location_modal/location_data_model.dart:94:13 • prefer_null_aware_operators

Steps to reproduce

1. Run the static_analysis workflow

Example run - https://github.com/atsign-foundation/at_widgets/actions/runs/7957922938/job/21721714868

Additional info

This may have been brought on by the recent release of Flutter 3.19

Sardar1208 commented 4 months ago

Needs deployment. Reducing to 0SP and moving to next sprint