added border radius to background
This commit is contained in:
@@ -16,7 +16,10 @@ class TaskDismissible extends StatelessWidget {
|
|||||||
key: key!,
|
key: key!,
|
||||||
direction: DismissDirection.startToEnd,
|
direction: DismissDirection.startToEnd,
|
||||||
background: Container(
|
background: Container(
|
||||||
color: Theme.of(context).colorScheme.error,
|
decoration: BoxDecoration(
|
||||||
|
borderRadius: BorderRadius.circular(12),
|
||||||
|
color: Theme.of(context).colorScheme.error,
|
||||||
|
),
|
||||||
child: Align(
|
child: Align(
|
||||||
alignment: AlignmentGeometry.centerLeft,
|
alignment: AlignmentGeometry.centerLeft,
|
||||||
child: Padding(
|
child: Padding(
|
||||||
|
|||||||
Reference in New Issue
Block a user