Make sure your flutter version is compatible with the version used in production. Check the deploy workflow for web and Github Release.
sh ./scripts/format.sh
It will sort imports and format dart codes. line-length
is set to 120. You might need to configure your IDE with proper settings.
Comments on imports may be messed up because of sorting imports.
sh ./scripts/build_runner.sh
Mainly for JsonSerializable
, build config can be found at build.yaml.
Specified type or final
is preferred.