close
0

How to pass data from child widget to its parent

avatar
asked 13-09-2021

1 Answers


0

Use InheritedWidget - https://api.flutter.dev/flutter/widgets/InheritedWidget-class.html

This lets you access data of the parent in all the children

avatar
answered 13-09-2021