chore: pre-commit ci hook, dart format
This commit is contained in:
@@ -48,7 +48,12 @@ class _CollapsibleTextState extends State<CollapsibleText> {
|
||||
TextSpan(
|
||||
children: [
|
||||
TextSpan(text: displayText, style: style),
|
||||
if (!_expanded) WidgetSpan(alignment: widget.small ? PlaceholderAlignment.baseline : PlaceholderAlignment.middle, baseline: widget.small ? TextBaseline.alphabetic : null, child: _buildBadge(context)),
|
||||
if (!_expanded)
|
||||
WidgetSpan(
|
||||
alignment: widget.small ? PlaceholderAlignment.baseline : PlaceholderAlignment.middle,
|
||||
baseline: widget.small ? TextBaseline.alphabetic : null,
|
||||
child: _buildBadge(context),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user