skip to Main Content

Flutter – ToggleButton not changing state

I have three toggle button in my page. When I click either one of the toggle button, it remain unchanged. class EditInvoiceDetailsScreen extends HookWidget { final Invoice invoice; EditInvoiceDetailsScreen(this.invoice, {super.key}); @override Widget build(BuildContext context) { final isSelected = useState(<bool>[true, false,…

VIEW QUESTION
Back To Top
Search