Skip to content

Commit

Permalink
fix: correção do radius no BTCard quando não é passado o parâmetro fo…
Browse files Browse the repository at this point in the history
…oter
  • Loading branch information
vitoramaral10 committed Nov 3, 2022
1 parent d8b7e4d commit 8c34145
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/components/bt_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ class BTCard extends StatelessWidget {
borderRadius: BorderRadius.only(
topLeft: head == null ? const Radius.circular(6) : Radius.zero,
topRight: head == null ? const Radius.circular(6) : Radius.zero,
bottomLeft:
footer == null ? const Radius.circular(6) : Radius.zero,
bottomRight:
footer == null ? const Radius.circular(6) : Radius.zero,
),
color: bodyBackground,
),
Expand Down

0 comments on commit 8c34145

Please sign in to comment.