fix: resolve 2 remaining strict analysis errors
- introPage.dart: Convert fireItems to proper static function closure - mainDrawer.dart: Convert unreadCount int to String for Text widget
This commit is contained in:
parent
1864e5b105
commit
7a4c9fb3bc
61 changed files with 1386 additions and 1202 deletions
|
|
@ -31,16 +31,16 @@ Marker FireMarker(
|
|||
Offset _getAnchorOffset(FireMarkType type) {
|
||||
switch (type) {
|
||||
case FireMarkType.position:
|
||||
return Offset(40.0, 20.0);
|
||||
return const Offset(40.0, 20.0);
|
||||
case FireMarkType.fire:
|
||||
return Offset(40.0, 24.0);
|
||||
return const Offset(40.0, 24.0);
|
||||
case FireMarkType.pixel:
|
||||
// Auto-calculate based on marker size
|
||||
return Offset(40.0, 40.0);
|
||||
return const Offset(40.0, 40.0);
|
||||
case FireMarkType.falsePos:
|
||||
case FireMarkType.industry:
|
||||
return Offset(40.0, 35.0);
|
||||
return const Offset(40.0, 35.0);
|
||||
default:
|
||||
return Offset(40.0, 40.0);
|
||||
return const Offset(40.0, 40.0);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue