lint test
This commit is contained in:
@@ -373,9 +373,9 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
channel: mockChannel,
|
channel: mockChannel,
|
||||||
@@ -405,9 +405,9 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
home: SizedBox(
|
home: SizedBox(
|
||||||
child: AttachmentActionsModal(
|
child: AttachmentActionsModal(
|
||||||
imageDownloader: imageDownloader,
|
imageDownloader: imageDownloader,
|
||||||
@@ -460,9 +460,9 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
child: child!,
|
child: child!,
|
||||||
),
|
),
|
||||||
home: Container(
|
home: Container(
|
||||||
child: AttachmentActionsModal(
|
child: AttachmentActionsModal(
|
||||||
fileDownloader: fileDownloader,
|
fileDownloader: fileDownloader,
|
||||||
|
|||||||
@@ -16,13 +16,13 @@ void main() {
|
|||||||
home: const Material(child: Text('Home')),
|
home: const Material(child: Text('Home')),
|
||||||
routes: <String, WidgetBuilder>{
|
routes: <String, WidgetBuilder>{
|
||||||
'/next': (BuildContext context) => Material(
|
'/next': (BuildContext context) => Material(
|
||||||
child: Center(
|
child: Center(
|
||||||
child: StreamChatTheme(
|
child: StreamChatTheme(
|
||||||
data: StreamChatThemeData.fromTheme(theme),
|
data: StreamChatThemeData.fromTheme(theme),
|
||||||
child: StreamBackButton(),
|
child: StreamBackButton(),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
@@ -77,15 +77,15 @@ void main() {
|
|||||||
home: const Material(child: Text('Home')),
|
home: const Material(child: Text('Home')),
|
||||||
routes: <String, WidgetBuilder>{
|
routes: <String, WidgetBuilder>{
|
||||||
'/next': (BuildContext context) => Material(
|
'/next': (BuildContext context) => Material(
|
||||||
child: Center(
|
child: Center(
|
||||||
child: StreamChatTheme(
|
child: StreamChatTheme(
|
||||||
data: StreamChatThemeData.fromTheme(theme),
|
data: StreamChatThemeData.fromTheme(theme),
|
||||||
child: StreamBackButton(
|
child: StreamBackButton(
|
||||||
onPressed: () => customCallbackWasCalled = true,
|
onPressed: () => customCallbackWasCalled = true,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -262,10 +262,10 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
streamChatThemeData: streamTheme,
|
streamChatThemeData: streamTheme,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
theme: themeData,
|
theme: themeData,
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
@@ -310,10 +310,10 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
streamChatThemeData: streamTheme,
|
streamChatThemeData: streamTheme,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
theme: themeData,
|
theme: themeData,
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
@@ -361,10 +361,10 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
streamChatThemeData: streamTheme,
|
streamChatThemeData: streamTheme,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
theme: themeData,
|
theme: themeData,
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
@@ -410,10 +410,10 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
streamChatThemeData: streamTheme,
|
streamChatThemeData: streamTheme,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
theme: themeData,
|
theme: themeData,
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
@@ -459,10 +459,10 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
streamChatThemeData: streamTheme,
|
streamChatThemeData: streamTheme,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
theme: themeData,
|
theme: themeData,
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
@@ -506,10 +506,10 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
streamChatThemeData: streamTheme,
|
streamChatThemeData: streamTheme,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
theme: themeData,
|
theme: themeData,
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
@@ -563,10 +563,10 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
streamChatThemeData: streamTheme,
|
streamChatThemeData: streamTheme,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
theme: themeData,
|
theme: themeData,
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
@@ -620,10 +620,10 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
streamChatThemeData: streamTheme,
|
streamChatThemeData: streamTheme,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
theme: themeData,
|
theme: themeData,
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
@@ -673,10 +673,10 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
streamChatThemeData: streamTheme,
|
streamChatThemeData: streamTheme,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
theme: themeData,
|
theme: themeData,
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
@@ -730,10 +730,10 @@ void main() {
|
|||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
builder: (context, child) => StreamChat(
|
builder: (context, child) => StreamChat(
|
||||||
client: client,
|
client: client,
|
||||||
streamChatThemeData: streamTheme,
|
streamChatThemeData: streamTheme,
|
||||||
child: child,
|
child: child,
|
||||||
),
|
),
|
||||||
theme: themeData,
|
theme: themeData,
|
||||||
home: StreamChannel(
|
home: StreamChannel(
|
||||||
showLoading: false,
|
showLoading: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user