I am trying to place my toggle button on the right but cant seem to find a solution to my problem
Row(
children: [
Text("Enable QR Code"),
Switch(value: isSwitched, onChanged:(value){
setState(() {
isSwitched=value;
print(isSwitched);
});
},
activeTrackColor: Colors.lightGreenAccent,
activeColor: Colors.green,
),
],
),
