material-components / material-components-flutter-codelabs

Codelabs for Material Components for Flutter
212 stars 244 forks source link

MDC-103 Flutter - step 7 adding features #292

Closed prorege closed 10 months ago

prorege commented 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)), ), ), ),

guidezpl commented 10 months ago

Indeed, thanks for reporting. Fixed