From e6de3b93753e4aea0b33ba1d4d649ba76953b69b Mon Sep 17 00:00:00 2001 From: cloudwebrtc Date: Wed, 23 Oct 2024 21:40:56 +0800 Subject: [PATCH] fix. --- example/lib/main.dart | 3 ++- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/example/lib/main.dart b/example/lib/main.dart index daadc0e..3ed8ffd 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -13,7 +13,7 @@ void main() { Logger.root.level = Level.FINE; Logger.root.onRecord.listen((record) { if (kDebugMode) { - //print('${format.format(record.time)}: ${record.message}'); + print('${format.format(record.time)}: ${record.message}'); } }); @@ -43,6 +43,7 @@ class MyHomePage extends StatelessWidget { 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MzEzNjkzNjgsImlzcyI6IkFQSXJramtRYVZRSjVERSIsIm5hbWUiOiJmbHQiLCJuYmYiOjE3Mjk1NjkzNjgsInN1YiI6ImZsdCIsInZpZGVvIjp7InJvb20iOiJsaXZlIiwicm9vbUpvaW4iOnRydWV9fQ.HVjMK_t00FlF24xIn-IZot1ROeb6JjV8QstRf2577yw'; /// handle join button pressed, fetch connection details and connect to room. + // ignore: unused_element void _onJoinPressed(RoomContext roomCtx, String name, String roomName) async { if (kDebugMode) { print('Joining room: name=$name, roomName=$roomName'); diff --git a/pubspec.yaml b/pubspec.yaml index 7f88c0f..de2ff4b 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -28,7 +28,7 @@ dev_dependencies: # following page: https://dart.dev/tools/pub/pubspec # The following section is specific to Flutter packages. -flutter: +# flutter: # To add assets to your package, add an assets section, like this: # assets: