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