jhomlala / catcher

Flutter error catching & handling plugin. Handles and reports exceptions in your app!
Apache License 2.0
784 stars 175 forks source link

catcher-0.6.9/lib/handlers/toast_handler.dart:48:31 #223

Closed nubigit closed 2 years ago

nubigit commented 2 years ago

catcher-0.6.9/lib/handlers/toasthandler.dart:48:31: Error: Too many positional arguments: 2 allowed, but 3 found. ` Navigator.push( buildContext!, maintainState=false,
PageRouteBuilder( opaque: false, pageBuilder: (
, __, ___) => FlutterToastPage( _getErrorMessage(error), _getGravity(), Duration(seconds: _getLengthIos()), backgroundColor, textColor, textSize, ), ), `

Try removing the extra positional arguments. Navigator.push( ^ /opt/flutter/packages/flutter/lib/src/widgets/navigator.dart:2136:21: Context: Found this candidate, but the arguments don't match.