@@ -281,12 +281,10 @@ final class TableExample extends ExamplePage {
281281 }
282282
283283 @override
284- List <ElementConverter <TagflowNode >> get converters => ! useTagflowTable
285- ? super .converters
286- : [
287- const TagflowTableConverter (),
288- const TagflowTableCellConverter (),
289- ];
284+ List <ElementConverter <TagflowNode >> get converters =>
285+ ! useTagflowTable
286+ ? super .converters
287+ : [const TagflowTableConverter (), const TagflowTableCellConverter ()];
290288
291289 @override
292290 PreferredSizeWidget ? buildAppBar (BuildContext context) {
@@ -295,24 +293,25 @@ final class TableExample extends ExamplePage {
295293 actions: [
296294 PopupMenuButton <void >(
297295 icon: const Icon (Icons .more_vert),
298- itemBuilder: (context) => [
299- PopupMenuItem (
300- child: Row (
301- mainAxisSize: MainAxisSize .min,
302- children: [
303- const Text ('Use tagflow_table' ),
304- const SizedBox (width: 16 ),
305- Switch (
306- value: useTagflowTable,
307- onChanged: (value) {
308- updateUseTagflowTable (value: value);
309- Navigator .of (context).pop ();
310- },
296+ itemBuilder:
297+ (context) => [
298+ PopupMenuItem (
299+ child: Row (
300+ mainAxisSize: MainAxisSize .min,
301+ children: [
302+ const Text ('Use tagflow_table' ),
303+ const SizedBox (width: 16 ),
304+ Switch (
305+ value: useTagflowTable,
306+ onChanged: (value) {
307+ updateUseTagflowTable (value: value);
308+ Navigator .of (context).pop ();
309+ },
310+ ),
311+ ],
311312 ),
312- ],
313- ),
314- ),
315- ],
313+ ),
314+ ],
316315 ),
317316 ],
318317 );
0 commit comments