chore(repo): add lints, update freezed, json_serializable

Signed-off-by: xsahil03x <[email protected]>
This commit is contained in:
Sahil Kumar
2022-05-16 16:58:24 +05:30
committed by xsahil03x
parent 2499755a05
commit 069f380f41
170 changed files with 616 additions and 737 deletions
@@ -75,7 +75,7 @@ void main() {
);
testWidgets(
'it should hide delete if it\'s not my message',
"it should hide delete if it's not my message",
(WidgetTester tester) async {
final client = MockClient();
final clientState = MockClientState();
@@ -364,7 +364,7 @@ void main() {
testWidgets(
// ignore: lines_longer_than_80_chars
'tapping on delete in chat should remove the message if that\'s the only attachment and there is no text',
"tapping on delete in chat should remove the message if that's the only attachment and there is no text",
(WidgetTester tester) async {
final client = MockClient();
final clientState = MockClientState();
@@ -92,7 +92,7 @@ void main() {
width: 100,
height: 100,
child: StreamGradientAvatar(
name: 'd123@/d de:\$as',
name: r'd123@/d de:$as',
userId: 'demo123',
),
),
@@ -116,7 +116,7 @@ void main() {
width: 100,
height: 100,
child: StreamGradientAvatar(
name: '123@/d \$as', userId: 'demo123'),
name: r'123@/d $as', userId: 'demo123'),
),
),
),
@@ -60,7 +60,7 @@ void main() {
client: client,
streamChatThemeData: StreamChatThemeData.fromTheme(themeData),
connectivityStream: Stream.value(ConnectivityResult.mobile),
child: Container(
child: ColoredBox(
color: Colors.black,
child: StreamReactionBubble(
reactions: [
@@ -97,7 +97,7 @@ void main() {
client: client,
streamChatThemeData: StreamChatThemeData.fromTheme(themeData),
connectivityStream: Stream.value(ConnectivityResult.mobile),
child: Container(
child: ColoredBox(
color: Colors.black,
child: StreamReactionBubble(
reactions: [
@@ -142,7 +142,7 @@ void main() {
client: client,
streamChatThemeData: StreamChatThemeData.fromTheme(themeData),
connectivityStream: Stream.value(ConnectivityResult.mobile),
child: Container(
child: ColoredBox(
color: Colors.black,
child: StreamReactionBubble(
reactions: [
@@ -1,7 +1,7 @@
import 'package:flutter/material.dart';
class SimpleFrame extends StatelessWidget {
const SimpleFrame({Key? key, required this.child}) : super(key: key);
const SimpleFrame({super.key, required this.child});
final Widget child;