How to make Function parameter optional in custom widget flutter?

Posted by Andre Scott | Updated on

Want to make Function parameter optional in custom widget flutter? You can use a default value that does nothing. Here is an example:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers