Multiplatformní vývoj Flutter aplikací

Dart Language

Make sure you understand the syntax and semantics of the following Dart language constructs:

  • Differences between finalvar, and const, and when to use each.
  • Method declaration. Always include the return type (even when void) in the method declaration. Positional (unnamed) method parameters. Named (both optional and required) method parameters.
  • Using underscores (_) to manage access to private attributes and methods.
  • Constructors, named constructors, how to declare private constructors.
  • Dart’s null safety operators (!???.).
  • Class property getters and setters
  • Working with List and Map, including useful methods and nested control structures (iffor).
  • Advanced features like  /~/% operators, cascade notation (..), and null-aware assignment (??=).
  • Prefer final

    Always use final (immutable) class attributes and local variables when possible.