Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter pass onchanged callback in arguments

class DropdownItem extends StatelessWidget {
	final Function(bool) onchangedCallback;
    
    // ....
    Checkbox(
            onChanged: onchangedCallback,
            ),
 
PREVIOUS NEXT
Tagged: #flutter #pass #onchanged #callback #arguments
ADD COMMENT
Topic
Name
9+6 =