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 #1

Updated by Prashanth Appani 12 months ago

  • Status changed from New to Closed
Actions #2

Updated by Jyoshna Behara 12 months ago

  • Due date deleted (29/04/2024)
  • Status changed from Closed to New
  • Estimated time set to 3:00 h

Still spelling errors and improper method and variables name are exist in Project.

Maintain common classes for hard corded string data, common text format or theme.

Make separate classes for UI and service call.

Remove - Unnecessary commented codes.

Actions #3

Updated by Jyoshna Behara 12 months ago

  • Due date set to 02/05/2024

Jyoshna Rani wrote in #note-2:

Still spelling errors and improper method and variables name are exist in Project.

Maintain common classes for hard corded string data, common text format or theme.

Make separate classes for UI and service call.

Remove - Unnecessary commented codes.

Actions #4

Updated by Sivakanth Kesiraju 11 months ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF