aloisdeniel / aloisdeniel/figma_squircle

Wrapping with Opacity widget makes it work broken

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
163
フォーク
41
PR マージ指標
30日以内にマージされた PR はありません

説明

Hi, love this package!

However, I've encountered a bug. I'm using it as border of a MaterialButton.

> MaterialButton(
> elevation: 0,
> shape: SmoothRectangleBorder(
> side: BorderSide(color: Colors.white, width: 4),
> borderRadius: SmoothBorderRadius(
> cornerRadius: 16,
> cornerSmoothing: 1.0,
> ),
> ),
> color: lightestColor.withOpacity(0.3)...

When I wrap it with Opacity widget, there is an error on the corners as following photo shows. (Bottom one is wrapped with Opacity) (Even if the opacity is given as "0.99", it happens.)

![IMG_2C2865CFE7C8-1](https://user-images.githubusercontent.com/13528014/132346318-44e8572d-59a2-4bb6-9e2a-9b93c69d47a9.jpeg)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。