To specify the optional argument with default values, we use {} curly braces . In optional positional argument and optional named argument, if we don’t specify the value in an argument then it is set to NULL.
How do you pass optional parameters in flutter?
To specify the optional argument with default values, we use {} curly braces . In optional positional argument and optional named argument, if we don’t specify the value in an argument then it is set to NULL.