Answers for "CupertinoSwitch bottom border"

0

CupertinoSwitch bottom border

MergeSemantics(
  child: ListTile(
    title: Text('Lights'),
    trailing: CupertinoSwitch(
      value: _lights,
      onChanged: (bool value) { setState(() { _lights = value; }); },
    ),
    onTap: () { setState(() { _lights = !_lights; }); },
  ),
)
Posted by: Guest on September-17-2021

Browse Popular Code Answers by Language