mirror of
https://github.com/venera-app/venera.git
synced 2025-09-27 07:47:24 +00:00
favorite
This commit is contained in:
@@ -195,6 +195,9 @@ class _ButtonState extends State<Button> {
|
||||
child: AnimatedContainer(
|
||||
duration: const Duration(milliseconds: 160),
|
||||
padding: padding,
|
||||
constraints: const BoxConstraints(
|
||||
minWidth: 76,
|
||||
),
|
||||
decoration: BoxDecoration(
|
||||
color: buttonColor,
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
@@ -220,7 +223,10 @@ class _ButtonState extends State<Button> {
|
||||
child: SizedBox(
|
||||
width: width,
|
||||
height: height,
|
||||
child: child,
|
||||
child: Center(
|
||||
widthFactor: 1,
|
||||
child: child,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user