radial button update

This commit is contained in:
MohammadTaha Basiri 2022-03-09 18:41:15 +03:30
parent 87cc2ffd61
commit 84c773f52a
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ class DidvanRadialButton extends StatelessWidget {
final String title;
final VoidCallback onSelected;
final bool value;
final double? fontSize;
final String? fontFamily;
const DidvanRadialButton({
Key? key,
@ -13,6 +14,7 @@ class DidvanRadialButton extends StatelessWidget {
required this.onSelected,
required this.value,
this.fontFamily,
this.fontSize,
}) : super(key: key);
@override
@ -52,6 +54,7 @@ class DidvanRadialButton extends StatelessWidget {
style: Theme.of(context).textTheme.bodyText2!.copyWith(
fontFamily: fontFamily,
),
fontSize: fontSize,
),
],
),