File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lib/core/widgets/custom_widgets Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ class CustomRoundedElevatedButton extends StatelessWidget {
99 final Widget child;
1010 final VoidCallback onPressed;
1111 final bool fitToContent;
12- final bool smallRounded ;
12+ final double roundedRadius ;
1313 final double fixedSize;
1414 const CustomRoundedElevatedButton ({
1515 super .key,
1616 this .backgroundColor = ThemeEnum .focusColor,
1717 this .shadowColor = ThemeEnum .transparentColor,
1818 this .fitToContent = true ,
19- this .smallRounded = false ,
19+ this .roundedRadius = 50 ,
2020 this .fixedSize = 35 ,
2121 required this .child,
2222 required this .onPressed,
@@ -37,7 +37,7 @@ class CustomRoundedElevatedButton extends StatelessWidget {
3737 fixedSize: fitToContent ? Size .fromHeight (fixedSize.r) : null ,
3838 padding: EdgeInsets .symmetric (horizontal: 15. r),
3939 shape: RoundedRectangleBorder (
40- borderRadius: BorderRadius .circular (smallRounded ? 10 : 50 ).r),
40+ borderRadius: BorderRadius .circular (roundedRadius ).r),
4141 surfaceTintColor: background,
4242 foregroundColor: context.getColor (ThemeEnum .hintColor),
4343 ),
You can’t perform that action at this time.
0 commit comments