Calling provider method in initstate of a widget

316 views
Skip to first unread message

Renitto Jose

unread,
May 22, 2020, 6:26:56 AM5/22/20
to Flutter Development (flutter-dev)
Same issue but I need to pass 2 parameters from the widget to the method in Provider. Couldn't find a proper answer yet. Any help is appreciated.

Souvik Dutta

unread,
May 22, 2020, 6:49:16 AM5/22/20
to Renitto Jose, Flutter Development (flutter-dev)
You should covert your data into a list and pass using provider. 

On Fri, 22 May, 2020, 3:57 pm Renitto Jose, <renit...@gmail.com> wrote:
Same issue but I need to pass 2 parameters from the widget to the method in Provider. Couldn't find a proper answer yet. Any help is appreciated.

--
You received this message because you are subscribed to the Google Groups "Flutter Development (flutter-dev)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to flutter-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/flutter-dev/027b4abf-c41a-411b-837d-1c012ebf2f52%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages