Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/audio_room_with_chat/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ void main() {

class MyApp extends StatelessWidget {
const MyApp({
Key? key,
super.key,
required this.chatClient,
}) : super(key: key);
});

final StreamChatClient chatClient;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import 'package:stream_video_flutter/stream_video_flutter.dart';
import '../app_config.dart';

class LoginScreen extends StatelessWidget {
const LoginScreen({Key? key}) : super(key: key);
const LoginScreen({super.key});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion packages/audio_room_with_chat/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
flutter:
sdk: flutter
stream_chat_flutter: ^9.20.0
stream_video_flutter: ^1.0.0
stream_video_flutter: ^1.3.0

dev_dependencies:
flutter_test:
Expand Down
4 changes: 2 additions & 2 deletions packages/chat_with_video_call/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ void main() {

class MyApp extends StatelessWidget {
const MyApp({
Key? key,
super.key,
required this.chatClient,
}) : super(key: key);
});

final StreamChatClient chatClient;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import 'package:chat_with_video_call/app_config.dart';
import 'package:chat_with_video_call/sample_user.dart';
import 'package:chat_with_video_call/screens/channel_screen.dart';
import 'package:flutter/material.dart';
import 'package:stream_chat_flutter/stream_chat_flutter.dart';

class ChannelListScreen extends StatefulWidget {
const ChannelListScreen({Key? key, required this.onLogout}) : super(key: key);
const ChannelListScreen({super.key, required this.onLogout});

final VoidCallback onLogout;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'package:stream_chat_flutter/stream_chat_flutter.dart';
import 'package:stream_video_flutter/stream_video_flutter.dart';

class ChannelScreen extends StatelessWidget {
const ChannelScreen({Key? key}) : super(key: key);
const ChannelScreen({super.key});

@override
Widget build(BuildContext context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import '../app_config.dart';
import 'channel_list_screen.dart';

class LoginScreen extends StatelessWidget {
const LoginScreen({Key? key}) : super(key: key);
const LoginScreen({super.key});

@override
Widget build(BuildContext context) {
Expand Down
2 changes: 1 addition & 1 deletion packages/chat_with_video_call/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
flutter:
sdk: flutter
stream_chat_flutter: ^9.20.0
stream_video_flutter: ^1.0.0
stream_video_flutter: ^1.3.0

dev_dependencies:
flutter_lints: ^5.0.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import 'package:audio_room_with_chat_starter/screens/widgets/audio_room_actions.dart';
import 'package:audio_room_with_chat_starter/screens/widgets/chat_sheet.dart';
import 'package:flutter/material.dart';

/// Placeholder for the in-call audio room UI with chat.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class _AudioRoomsScreenState extends State<AudioRoomsScreen> {
}

final calls = [];
if (calls == null || calls.isEmpty) {
if (calls.isEmpty) {
return _EmptyState(onRefresh: _reloadRooms);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import 'package:audio_room_with_chat_starter/screens/audio_rooms_screen.dart';
import 'package:flutter/material.dart';

class LoginScreen extends StatelessWidget {
const LoginScreen({Key? key}) : super(key: key);
const LoginScreen({super.key});

@override
Widget build(BuildContext context) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
flutter:
sdk: flutter
stream_chat_flutter: ^9.16.0
stream_video_flutter: ^0.10.4
stream_video_flutter: ^1.3.0

dev_dependencies:
flutter_test:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ void main() {
}

class MyApp extends StatelessWidget {
const MyApp({Key? key}) : super(key: key);
const MyApp({super.key});

@override
Widget build(BuildContext context) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';

class ChannelListScreen extends StatefulWidget {
const ChannelListScreen({Key? key, required this.onLogout}) : super(key: key);
const ChannelListScreen({super.key, required this.onLogout});

final VoidCallback onLogout;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
// ignore_for_file: unused_element
import 'package:flutter/material.dart';
import 'package:stream_chat_flutter/stream_chat_flutter.dart';

class ChannelScreen extends StatelessWidget {
const ChannelScreen({Key? key}) : super(key: key);
const ChannelScreen({super.key});

@override
Widget build(BuildContext context) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// ignore_for_file: unused_element
import 'package:chat_with_video_starter/sample_user.dart';
import 'package:flutter/material.dart';

import '../app_config.dart';
import 'channel_list_screen.dart';

class LoginScreen extends StatelessWidget {
const LoginScreen({Key? key}) : super(key: key);
const LoginScreen({super.key});

@override
Widget build(BuildContext context) {
Expand Down Expand Up @@ -39,7 +39,7 @@ class LoginScreen extends StatelessWidget {
context,
MaterialPageRoute(
builder: (context) => Material(
child: Container(child: Center(child: Text("Let's start building!"))),
child: Center(child: Text("Let's start building!")),
),
),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ dependencies:
flutter:
sdk: flutter
stream_chat_flutter: ^9.16.0
stream_video_flutter: ^0.10.4
stream_video_flutter: ^1.3.0

dev_dependencies:
flutter_test:
Expand Down
44 changes: 0 additions & 44 deletions packages/ui_cookbook/.gitignore

This file was deleted.

45 changes: 0 additions & 45 deletions packages/ui_cookbook/.metadata

This file was deleted.

117 changes: 0 additions & 117 deletions packages/ui_cookbook/README.md

This file was deleted.

Loading