Skip to content

Commit dd0f44b

Browse files
committed
RadioItem
1 parent 634c6f0 commit dd0f44b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/flutter_custom_dialog_widget.dart

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import 'dart:ui';
2+
13
import 'package:flutter/material.dart';
24

35
import 'package:flutter_custom_dialog/flutter_custom_dialog.dart';
@@ -50,7 +52,13 @@ class YYRadioListTileState extends State<YYRadioListTile> {
5052
return Material(
5153
color: widget.color,
5254
child: RadioListTile(
53-
title: Text(widget.items[index].text),
55+
title: Text(
56+
widget.items[index].text,
57+
style: TextStyle(
58+
fontSize: widget.items[index].fontSize,
59+
fontWeight: widget.items[index].fontWeight,
60+
color: widget.items[index].color),
61+
),
5462
value: index,
5563
groupValue: groupId,
5664
activeColor: widget.activeColor,

0 commit comments

Comments
 (0)