Flutter call function with parameter | Pass a function with parameters to a Callback Function | Dart

preview_player
Показать описание
Final Function VoidCallback
Рекомендации по теме
Комментарии
Автор

Can you please make this app example including a separate file for the function which has setstate(), because if you make a function in a separate file which is only for functions, then you cannot call setState(), because there is no Stateless or stateful class to call the setState for.

For example, if you make a dart file only for functions and you make the funChange function from this video in seperate file only for functions then you cannot use setState inside funChange function like you did in this video.

Really liked your step-by-step video, which is perfect for absolute beginners like me, hoping you will respond.

muhammadali
Автор

THank you so much, finally I've got a solution

Oalone
join shbcf.ru