1 min readFeb 12, 2019
It’s part of Dart’s constructor syntax. All final properties must be initialized before the body of a constructor, which means you either have to give them values within the constructor’s parameter list, or you need to initialize those properties after the parameter list by placing them after the colon. You should check out the Dart language specification if you’re curious about that.