clean the code for save and next buttons and enhance UI

This commit is contained in:
Rafeek-Khoudare
2025-07-09 15:11:27 +03:00
parent 42c410d982
commit b128618bfd
23 changed files with 793 additions and 303 deletions

View File

@ -12,10 +12,13 @@ class SvgTextButton extends StatelessWidget {
final double borderRadius;
final List<BoxShadow> boxShadow;
final double svgSize;
final double? fontSize;
final FontWeight? fontWeight;
const SvgTextButton({
super.key,
required this.svgAsset,
this.fontSize,
this.fontWeight,
required this.label,
required this.onPressed,
this.backgroundColor = ColorsManager.circleRolesBackground,
@ -60,8 +63,8 @@ class SvgTextButton extends StatelessWidget {
label,
style: TextStyle(
color: labelColor,
fontSize: 16,
fontWeight: FontWeight.w500,
fontSize: fontSize ?? 16,
fontWeight: fontWeight ?? FontWeight.w500,
),
),
],