Skip to content

Commit ca3dc53

Browse files
committed
Added example with inputDecoration in addition to itemDecoration
1 parent 798a92e commit ca3dc53

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

example/lib/sources/decorated_radio_checkbox.dart

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,13 @@ class _DecoratedRadioCheckboxState extends State<DecoratedRadioCheckbox> {
7171
name: 'aRadioGroup2',
7272
options: getDemoOptions(),
7373
wrapSpacing: 10.0,
74+
wrapRunSpacing: 10.0,
75+
decoration: InputDecoration(
76+
border: const OutlineInputBorder(),
77+
contentPadding: const EdgeInsets.only(left: 20, top: 40),
78+
labelText: 'hello there',
79+
icon: const Icon(Icons.access_alarm_outlined),
80+
fillColor: Colors.red.shade200),
7481
itemDecoration: BoxDecoration(
7582
color: Colors.blueGrey.shade200,
7683
border: Border.all(color: Colors.blueAccent),

0 commit comments

Comments
 (0)