font feature bug workaround
This commit is contained in:
parent
90bef2a5ed
commit
f78448ff91
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,6 @@ class SectionHeader<T> extends StatelessWidget {
|
||||||
child: Text.rich(
|
child: Text.rich(
|
||||||
TextSpan(
|
TextSpan(
|
||||||
children: [
|
children: [
|
||||||
// TODO TLAD [flutter 3] https://github.com/flutter/flutter/issues/103615
|
|
||||||
WidgetSpan(
|
WidgetSpan(
|
||||||
alignment: widgetSpanAlignment,
|
alignment: widgetSpanAlignment,
|
||||||
child: _SectionSelectableLeading<T>(
|
child: _SectionSelectableLeading<T>(
|
||||||
|
@ -56,6 +55,8 @@ class SectionHeader<T> extends StatelessWidget {
|
||||||
onPressed: selectable ? () => _toggleSectionSelection(context) : null,
|
onPressed: selectable ? () => _toggleSectionSelection(context) : null,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
// TODO TLAD [flutter 3] remove this zero-width span when this is fixed: https://github.com/flutter/flutter/issues/103615
|
||||||
|
TextSpan(text: '\u200B' * 3, style: Constants.titleTextStyle),
|
||||||
TextSpan(
|
TextSpan(
|
||||||
text: title,
|
text: title,
|
||||||
style: Constants.titleTextStyle,
|
style: Constants.titleTextStyle,
|
||||||
|
|
Loading…
Reference in a new issue