File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,8 +68,8 @@ class PlatformPage extends StatelessWidget {
6868 title: 'PlatformListTile' ,
6969 builder: (_, platform) => PlatformListTile (
7070 leading: Icon (context.platformIcons.book),
71- title: PlatformText (" title" ),
72- subtitle: PlatformText (" subtitle" ),
71+ title: PlatformText (' title' ),
72+ subtitle: PlatformText (' subtitle' ),
7373 trailing: Icon (context.platformIcons.rightChevron),
7474 onTap: () => print ('${platform .text } PlatformListTile' ),
7575 ),
Original file line number Diff line number Diff line change @@ -243,7 +243,7 @@ class PlatformPopupMenu extends StatelessWidget {
243243 key: data? .key,
244244 isDefaultAction: data? .isDefaultAction ?? false ,
245245 isDestructiveAction: data? .isDestructiveAction ?? false ,
246- child: data? .child ?? Text (option.label ?? "" ),
246+ child: data? .child ?? Text (option.label ?? '' ),
247247 onPressed: data? .onPressed ??
248248 () {
249249 Navigator .pop (context);
@@ -281,7 +281,7 @@ class PlatformPopupMenu extends StatelessWidget {
281281 final data = option.material? .call (context, platform (context));
282282 items.add (PopupMenuItem <PopupMenuOption >(
283283 value: option,
284- child: data? .child ?? Text (option.label ?? "" ),
284+ child: data? .child ?? Text (option.label ?? '' ),
285285 enabled: data? .enabled ?? true ,
286286 height: data? .height ?? kMinInteractiveDimension,
287287 key: data? .key,
You can’t perform that action at this time.
0 commit comments