feat : map

This commit is contained in:
2025-04-09 17:05:38 +03:30
parent e83388670c
commit 0286725ac6
41 changed files with 1120 additions and 91 deletions

View File

@@ -48,7 +48,7 @@ class _RElevatedState extends State<RElevated> {
),
fixedSize: Size(widget.width, widget.height),
padding: EdgeInsets.zero,
textStyle: widget.textStyle ?? AppFonts.yekan24Regular,
textStyle: widget.textStyle ?? AppFonts.yekan24,
),
child: Text(widget.text),
);

View File

@@ -92,7 +92,7 @@ class _ROutlinedElevatedState extends State<ROutlinedElevated> {
padding: WidgetStatePropertyAll(EdgeInsets.zero),
textStyle: WidgetStatePropertyAll(
widget.textStyle ??
AppFonts.yekan24Regular.copyWith(color: AppColor.blueNormal),
AppFonts.yekan24.copyWith(color: AppColor.blueNormal),
),
),
child: Text(widget.text),

View File

@@ -7,12 +7,12 @@ class RTextButton extends StatefulWidget {
super.key,
required this.text,
required this.onPressed,
foregroundColor,
backgroundColor,
borderColor,
disabledBackgroundColor,
radius,
textStyle,
this.foregroundColor,
this.backgroundColor,
this.borderColor,
this.disabledBackgroundColor,
this.radius,
this.textStyle,
this.width = 150.0,
this.height = 56.0,
});
@@ -67,7 +67,7 @@ class _RTextButtonState extends State<RTextButton> {
padding: WidgetStatePropertyAll(EdgeInsets.zero),
textStyle: WidgetStatePropertyAll(
widget.textStyle ??
AppFonts.yekan24Regular.copyWith(color: AppColor.blueNormal),
AppFonts.yekan24.copyWith(color: AppColor.blueNormal),
),
),
onPressed:widget.onPressed,