Skip to content

Possible Toast, Snackbar or Popover ability? #791

Discussion options

You must be logged in to vote

After putting up this q/a, I was able to hack something together here. I think this works pretty well and can be used for other widgets I am sure. I'm using the fluttertoast package in my example.

child: Html(
                data:
                    """<p>Display <abbr id="describes a bird">bird element</abbr> and flutter element</p>""",
                style: {
                  "p": Style(
                      fontStyle: FontStyle.normal, fontSize: FontSize.larger)
                },
                customRender: {
                  "abbr": (RenderContext context, Widget child) {
                    return GestureDetector(
                      onTap: () {
                        Flu…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jasonjflaherty
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant