Closed prorege closed 10 months ago
Textbutton and ElevatedButton widgets has missed one ' ) '
ElevatedButton( child: const Text('NEXT'), onPressed: () { Navigator.pop(context); }, style: ElevatedButton.styleFrom( elevation: 8.0, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(7.0)), ), ),
this is your example, but you missed on ' ( ' below is correct.
ElevatedButton( child: const Text('NEXT'), onPressed: () { Navigator.pop(context); }, style: ElevatedButton.styleFrom( elevation: 8.0, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(7.0)), ), ), ),
Indeed, thanks for reporting. Fixed
Textbutton and ElevatedButton widgets has missed one ' ) '
ElevatedButton( child: const Text('NEXT'), onPressed: () { Navigator.pop(context); }, style: ElevatedButton.styleFrom( elevation: 8.0, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(7.0)), ), ),
this is your example, but you missed on ' ( '
below is correct.
ElevatedButton( child: const Text('NEXT'), onPressed: () { Navigator.pop(context); }, style: ElevatedButton.styleFrom( elevation: 8.0, shape: const BeveledRectangleBorder( borderRadius: BorderRadius.all(Radius.circular(7.0)), ), ), ),