radial button update
This commit is contained in:
parent
87cc2ffd61
commit
84c773f52a
|
|
@ -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,
|
||||
),
|
||||
],
|
||||
),
|
||||
|
|
|
|||
Loading…
Reference in New Issue