I am new to flutter. I was using the camera plugin to add the camera to my app. And I got this warning Use a function declaration to bind a function to a name. How can I solve this one?
Code -
Widget _cameraTogglesRowWidget() {
    final List<Widget> toggles = <Widget>[];
    final onChanged = (CameraDescription? description) {
      if (description == null) {
        return;
      }
      onNewCameraSelected(description);
    };
 
    