feat : container constraints
This commit is contained in:
@@ -49,8 +49,11 @@ class RBottomNavigationItem extends StatelessWidget {
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Container(
|
||||
width: 70.w,
|
||||
height: 70.h,
|
||||
constraints: BoxConstraints(
|
||||
minWidth: 70.h,
|
||||
minHeight: 70.h,
|
||||
maxHeight: 70.h
|
||||
),
|
||||
padding: const EdgeInsets.symmetric(horizontal: 10),
|
||||
decoration: BoxDecoration(
|
||||
color: isSelected ? Colors.white.withAlpha(208) : Colors.transparent,
|
||||
|
||||
Reference in New Issue
Block a user