feat : map
This commit is contained in:
@@ -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),
|
||||
);
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -177,7 +177,7 @@ class _CaptchaWidgetState extends State<CaptchaWidget> {
|
||||
),
|
||||
Text(
|
||||
widget.controller.captchaCode.toString(),
|
||||
style: AppFonts.yekan24Regular,
|
||||
style: AppFonts.yekan24,
|
||||
),
|
||||
],
|
||||
),
|
||||
@@ -203,8 +203,8 @@ class _CaptchaWidgetState extends State<CaptchaWidget> {
|
||||
gapPadding: 11,
|
||||
),
|
||||
labelText: 'کد امنیتی',
|
||||
labelStyle: AppFonts.yekan13Regular,
|
||||
errorStyle: AppFonts.yekan10Regular.copyWith(
|
||||
labelStyle: AppFonts.yekan13,
|
||||
errorStyle: AppFonts.yekan10.copyWith(
|
||||
color: AppColor.redNormal,
|
||||
fontSize: 8,
|
||||
),
|
||||
@@ -249,7 +249,7 @@ class _CaptchaWidgetState extends State<CaptchaWidget> {
|
||||
}
|
||||
return null;
|
||||
},
|
||||
style: AppFonts.yekan13Regular,
|
||||
style: AppFonts.yekan13,
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
@@ -45,7 +45,7 @@ class _PaginationFromUntilState extends State<PaginationFromUntil> {
|
||||
'$current از $total',
|
||||
textAlign: TextAlign.center,
|
||||
textDirection: TextDirection.rtl,
|
||||
style: AppFonts.yekan16Regular.copyWith(
|
||||
style: AppFonts.yekan16.copyWith(
|
||||
color: AppColor.blueNormal,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -64,7 +64,7 @@ class _RShowMoreState extends State<RShowMore>
|
||||
child: Text(
|
||||
_toggled ? 'کمتر' : 'مشاهده بیشتر',
|
||||
key: ValueKey(_toggled),
|
||||
style: AppFonts.yekan10Regular.copyWith(color: AppColor.blueNormal),
|
||||
style: AppFonts.yekan10.copyWith(color: AppColor.blueNormal),
|
||||
),
|
||||
),
|
||||
SizedBox(height: 50,)
|
||||
|
||||
@@ -70,14 +70,14 @@ class _CupertinoSegmentedControlDemoState2
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(50)
|
||||
),
|
||||
child: Text('لاشه', style: AppFonts.yekan13Regular),
|
||||
child: Text('لاشه', style: AppFonts.yekan13),
|
||||
),
|
||||
1: Container(
|
||||
padding: EdgeInsets.all(10),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(50)
|
||||
),
|
||||
child: Text('زنده', style: AppFonts.yekan13Regular),
|
||||
child: Text('زنده', style: AppFonts.yekan13),
|
||||
),
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user