Column(
children: [
Text(
'Hello, World!',
style: Theme.of(context).textTheme.headline4,
),
Row(
children: [
Radio<bool>(
onChanged: (_) {},
groupValue: true,
value: true,
),
Text('First'),
],
),
Text.rich(TextSpan(
text: 'Random underline',
style: Theme.of(context).textTheme.bodyText2!.copyWith(
decoration: TextDecoration.underline,
decorationStyle: TextDecorationStyle.dotted,
),
)),
Row(
children: [
Radio<bool>(
onChanged: (_) {},
groupValue: false,
value: false,
),
Text('Second'),
],
),
],
)
This works on dartpad.dev but not on emulators/devices.