bubble icon indicating copy to clipboard operation
bubble copied to clipboard

Elevation issue

Open boosey opened this issue 5 years ago • 1 comments

This is a great widget. Easy to use. Great examples. However, I cannot get the elevation property to render. I am building a web app. I've tried different variations of providing the value. Here is my code and results.

return Bubble(
            margin: BubbleEdges.only(top: 5),
            elevation: 10,
            shadowColor: Colors.red[900],
            alignment: item.side == UtteranceSide.user
                ? Alignment.topRight
                : Alignment.topLeft,
            nip: item.side == UtteranceSide.user
                ? BubbleNip.rightTop
                : BubbleNip.leftTop,
            color: item.side == UtteranceSide.user ? Colors.green : Colors.blue,
            child: internalWidget,
          );```

![Results image] (https://user-images.githubusercontent.com/2569582/83526542-30e70c80-a4ac-11ea-8bd5-17c22ca912e8.png)

boosey avatar Jun 02 '20 13:06 boosey

Check again.

vi-k avatar Mar 10 '21 08:03 vi-k