Skip to content

Commit

Permalink
RadioItem
Browse files Browse the repository at this point in the history
  • Loading branch information
AndroidHensen committed Aug 16, 2021
1 parent 634c6f0 commit dd0f44b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion lib/flutter_custom_dialog_widget.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'dart:ui';

import 'package:flutter/material.dart';

import 'package:flutter_custom_dialog/flutter_custom_dialog.dart';
Expand Down Expand Up @@ -50,7 +52,13 @@ class YYRadioListTileState extends State<YYRadioListTile> {
return Material(
color: widget.color,
child: RadioListTile(
title: Text(widget.items[index].text),
title: Text(
widget.items[index].text,
style: TextStyle(
fontSize: widget.items[index].fontSize,
fontWeight: widget.items[index].fontWeight,
color: widget.items[index].color),
),
value: index,
groupValue: groupId,
activeColor: widget.activeColor,
Expand Down

0 comments on commit dd0f44b

Please sign in to comment.