Kefeh Collins
Jul 17, 2021

Hello @Mauro Santos, unfortunately you can only define a const object on a constant constructor because flutter only knows a constructor is constant when its feilds are final and when you denote it with a const keyword. I hope this helps

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Kefeh Collins
Kefeh Collins

Written by Kefeh Collins

An Enthusiastic problem solver, uses code as a tool for problem solving.

Responses (1)

Write a response