Text inline widgets, TextSpan rework (#33794)

* Merge in changes for inline widgets

* Make analyzer happy, fix tests

* Fix analyzer

* Add missing doc

* Docs on RichText

* Fix analyzer some more

* Remove whitespace at end of line

* Update goldens

* Text fixes

* Analyzer
This commit is contained in:
Gary Qian
2019-06-04 16:27:53 -07:00
committed by GitHub
parent b3b6d03737
commit 86862c1e62
27 changed files with 2437 additions and 241 deletions

View File

@@ -438,8 +438,8 @@ class ItemImageBox extends StatelessWidget {
borderRadius: BorderRadius.circular(2.0),
),
padding: const EdgeInsets.all(4.0),
child: const RichText(
text: TextSpan(
child: RichText(
text: const TextSpan(
style: TextStyle(color: Colors.white),
children: <TextSpan>[
TextSpan(