remove `flutter_error` and use type '`crash`' like in react-native
remove
flutter_errorand use type 'crash' like in react-native