Is it possible to have multiple font styles in a Flutter pluto_grid? I would to show the difference between two strings, each on in a separate column.
For example,
- This is a story about a boy
- This is a
<font color=red>true</font>story about a boy<font color=red style="text-decoration: line-through;">and a girl</font>.
I don't see any documentation that suggests that this is supported. It doesn't have to be CSS. I was able to do this with a Flutter Table widget, but I would like to have the rich UI features that come with pluto_grid.
So, with a lot tinkering I discovered that the PlutoColumn class object has an optional 'renderer' property (I had to really dig to find it). You can return any widget to this property, and for my use case I need to return an HTML widget.
So, if you take the pluto_grid example code from pub.dev you can set the 'renderer' property for a PlutoColumn in the _PlutoGridExamplePageState as follows:
Hope this helps!