Project

General

Profile

Actions

Bug #142

open

Code optimization

Added by Jyoshna Behara 12 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Prashanth Appani
Start date:
29/04/2024
Due date:
02/05/2024 (about 12 months late)
% Done:

0%

Estimated time:
3:00 h
Deployed In:
Category:

Description

Please clear unwanted or unused variables (check with spelling of the variable) and do code optimization

For reference check Dart Analysis window in the project. (Below provide few examples )

1. This class (or a class that this class inherits from) is marked as '@immutable', but one or more of its instance fields aren't final
2. This function has a nullable return type of 'String?', but ends without returning a value.
3. 'center' is deprecated and shouldn't be used. Prefer `initialCenter` instead. This option has been renamed to clarify its meaning.
4. An uninitialized variable should have an explicit type annotation.
5. Constructors in '@immutable' classes should be declared as 'const'.

Actions

Also available in: Atom PDF