Skip to content

Commit 68cc7a2

Browse files
author
M-Ahal
committed
dart fix: prefer_single_quotes
1 parent 7fe0978 commit 68cc7a2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

example/lib/platform_page.dart.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
),

lib/src/platform_popup_menu.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)