Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

flutter switch

bool isChecked = false;
Switch(
            value: isChecked,
            onChanged: (bool value) { 
              setState(() {
                isChecked = value;
              });
             }, 
            ),
Source by api.flutter.dev #
 
PREVIOUS NEXT
Tagged: #flutter #switch
ADD COMMENT
Topic
Name
5+3 =