Describe the bug
When showing FlushBar and using 2 fingers on the Google Map(Especially rotate action), then the app throws an exception.
After this exception is thrown once, it also gets thrown when using any other gesture (one or two fingers).
It's may coursed by Flutter or Google Map. But, when using SnackBar, Exception is not thrown.
Device: Galaxy S20 5G
OS: Android 10
Baseband: SCG01KDU1ATI1
Kernel: 4.19.81-19596063
(Same exception doesn't happened on iPhone SE and 6S when I take same action/gesture)
Code
```dart
import 'dart:async';
import 'package:flutter/material.dart';
import 'package:google_maps_flutter/google_maps_flutter.dart';
import 'package:flushbar/flushbar.dart';
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Snackbar/Flushbar Demo',
theme: ThemeData(
primarySwatch: Colors.blue,
visualDensity: VisualDensity.adaptivePlatformDensity,
),
home: MyHomePage(title: 'Snackbar/Flushbar Demo'),
);
}
}
class MyHomePage extends StatefulWidget {
MyHomePage({Key key, this.title}) : super(key: key);
final String title;
@override
_MyHomePageState createState() => _MyHomePageState();
}
class _MyHomePageState extends State {
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: Text(widget.title),
),
body: Map(),
);
}
}
class Map extends StatefulWidget {
@override
_MapState createState() => _MapState();
}
class _MapState extends State
Flutter doctor
D:\github\sample_gmap>flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 1.22.2, on Microsoft Windows [Version 10.0.18362.1139], locale ja-JP)
[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
[√] Android Studio (version 3.6)
[√] VS Code (version 1.50.1)
[√] Connected device (1 available)
Describe the bug When showing FlushBar and using 2 fingers on the Google Map(Especially rotate action), then the app throws an exception. After this exception is thrown once, it also gets thrown when using any other gesture (one or two fingers). It's may coursed by Flutter or Google Map. But, when using SnackBar, Exception is not thrown.
Device: Galaxy S20 5G OS: Android 10 Baseband: SCG01KDU1ATI1 Kernel: 4.19.81-19596063 (Same exception doesn't happened on iPhone SE and 6S when I take same action/gesture)
Logs
``` E/flutter ( 8075): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: Null check operator used on a null value E/flutter ( 8075): #0 _AndroidMotionEventConverter.toAndroidMotionEvent (package:flutter/src/services/platform_views.dart:596:31) E/flutter ( 8075): #1 AndroidViewController.dispatchPointerEvent (package:flutter/src/services/platform_views.dart:864:31) E/flutter ( 8075):Paste relevant code
Code
```dart import 'dart:async'; import 'package:flutter/material.dart'; import 'package:google_maps_flutter/google_maps_flutter.dart'; import 'package:flushbar/flushbar.dart'; void main() { runApp(MyApp()); } class MyApp extends StatelessWidget { // This widget is the root of your application. @override Widget build(BuildContext context) { return MaterialApp( title: 'Snackbar/Flushbar Demo', theme: ThemeData( primarySwatch: Colors.blue, visualDensity: VisualDensity.adaptivePlatformDensity, ), home: MyHomePage(title: 'Snackbar/Flushbar Demo'), ); } } class MyHomePage extends StatefulWidget { MyHomePage({Key key, this.title}) : super(key: key); final String title; @override _MyHomePageState createState() => _MyHomePageState(); } class _MyHomePageState extends StateFlutter doctor