Jamie
Nov 16, 2024

this is wrong. you shouldnt be creating objects inside build. also you can get the context using globalnavstate. no need to create instances and pass context.

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

Jamie
Jamie

Written by Jamie

Flutter, React Native, Android, iOS App developer.

Responses (2)

Write a response