How to split this "example#example"
To show like this
like columns
1.example
2.example
final String list = data!.list!.split('#').first;
result >>>> example
How to show
example
example
from example#example
How to split this "example#example"
To show like this
like columns
1.example
2.example
final String list = data!.list!.split('#').first;
result >>>> example
How to show
example
example
from example#example
3
Answers
You can change list type to var and get rid of
first
data.split('#')
will provide a list. You can loop though item.If you mean to widget not printing, here’s a solution.