update to flutter 3.0

This commit is contained in:
Salvatore Giordano
2022-05-18 11:56:52 +02:00
parent 3e2bc56909
commit d4505620ff
5 changed files with 79 additions and 46 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ void sampleAppLogHandler(LogRecord record) async {
StreamChatClient buildStreamChatClient(
String apiKey, {
Level logLevel = Level.SEVERE,
Level logLevel = Level.INFO,
}) {
return StreamChatClient(
apiKey,
@@ -129,7 +129,7 @@ class _MyAppState extends State<MyApp>
final now = DateTime.now().millisecondsSinceEpoch;
if (now - timeOfStartMs > 1500) {
SchedulerBinding.instance!.addPostFrameCallback((timeStamp) {
SchedulerBinding.instance.addPostFrameCallback((timeStamp) {
forwardAnimations();
});
} else {