@@ -27,7 +27,7 @@ void main() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
testWidgets(
|
testWidgets(
|
||||||
'StreamSendingIndicator shows an Icon if message state is not initial',
|
'StreamSendingIndicator shows an Icon if message state is sending',
|
||||||
(tester) async {
|
(tester) async {
|
||||||
await tester.pumpWidget(
|
await tester.pumpWidget(
|
||||||
MaterialApp(
|
MaterialApp(
|
||||||
@@ -37,7 +37,7 @@ void main() {
|
|||||||
body: Center(
|
body: Center(
|
||||||
child: StreamSendingIndicator(
|
child: StreamSendingIndicator(
|
||||||
message: Message(
|
message: Message(
|
||||||
state: MessageState.sent,
|
state: MessageState.sending,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user