Future function call in init flutter doesn't update UI
This is the init state of my class: List<Webinar> webinarList = []; Future<void> fetchWebinars() async { webinarList = await context.read<UserRepository>().fetchWebinar(); print(webinarList); } @override void initState() { super.initState(); fetchWebinars(); } I want to display a list in which there's a list…