kesalahan kustom snackbar flutter

ScaffoldMessenger.of(context).showSnackBar(SnackBar(
   backgroundColor: Colors.red[300],
     content: Row(
       children: [
         Icon(Icons.error),
         Text('Error Message Here')
      ],
   ),
));
CodePadding