$Default top-level property
Story
get
$Default
Implementation
Story get $Default => Story(
builder: (context, params) {
return Text(
JsonEncoder.withIndent(' ').convert(
params.dictionary('dictionary').required(
{
"title": "Title",
"subtitle": "Subtitle",
"body": "Body",
"items": [
"Item 1",
"Item 2",
],
"nested": {
"title": "Nested Title",
"subtitle": "Nested Subtitle",
"body": "Nested Body",
},
},
),
),
);
},
);