minor changes
This commit is contained in:
@@ -8,7 +8,7 @@ class TypingIndicator extends StatelessWidget {
|
|||||||
const TypingIndicator({
|
const TypingIndicator({
|
||||||
Key key,
|
Key key,
|
||||||
this.channel,
|
this.channel,
|
||||||
this.alternativeWidget = const SizedBox(),
|
this.alternativeWidget,
|
||||||
this.style,
|
this.style,
|
||||||
this.alignment = Alignment.centerLeft,
|
this.alignment = Alignment.centerLeft,
|
||||||
}) : super(key: key);
|
}) : super(key: key);
|
||||||
@@ -48,7 +48,7 @@ class TypingIndicator extends StatelessWidget {
|
|||||||
key: Key('alternative'),
|
key: Key('alternative'),
|
||||||
alignment: alignment,
|
alignment: alignment,
|
||||||
child: Container(
|
child: Container(
|
||||||
child: alternativeWidget,
|
child: alternativeWidget ?? Offstage(),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user