Skip to content

Commit cb1504e

Browse files
committed
New lints fixes in examples
1 parent 79a5ac3 commit cb1504e

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

example/lib/shared/services/theme_service_hive.dart

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ class ThemeServiceHive implements ThemeService {
101101
/// Loads a setting from the Theme service, using a key to access it from
102102
/// the Hive storage box.
103103
///
104-
/// If type <T> is not an atomic Dart type, there must be a
105-
/// Hive type adapter that converts <T> into one.
104+
/// If type `T` is not an atomic Dart type, there must be a
105+
/// Hive type adapter that converts `T` into one.
106106
@override
107107
Future<T> load<T>(String key, T defaultValue) async {
108108
try {
@@ -147,8 +147,8 @@ class ThemeServiceHive implements ThemeService {
147147
/// Save a setting to the Theme service with the Hive storage box,
148148
/// using key, as key for the value.
149149
///
150-
/// If type <T> is not an atomic Dart type, there must be a
151-
/// Hive type adapter that converts <T> into one.
150+
/// If type `T` is not an atomic Dart type, there must be a
151+
/// Hive type adapter that converts `T` into one.
152152
@override
153153
Future<void> save<T>(String key, T value) async {
154154
try {

example/lib/shared/services/theme_service_hive_adapters.dart

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ class FlexAppBarStyleAdapter extends TypeAdapter<FlexAppBarStyle> {
110110

111111
/// A Hive data type adapter for enum [FlexTabBarStyle], nullable.
112112
///
113-
/// Handles storing <null> value as -1 and returns anything out of enum
113+
/// Handles storing `null` value as -1 and returns anything out of enum
114114
/// index range as null value.
115115
class FlexTabBarStyleAdapter extends TypeAdapter<FlexTabBarStyle?> {
116116
@override
@@ -151,7 +151,7 @@ class FlexSystemNavBarStyleAdapter extends TypeAdapter<FlexSystemNavBarStyle> {
151151

152152
/// A Hive data type adapter for enum [SchemeColor], nullable.
153153
///
154-
/// Handles storing <null> value as -1 and returns anything out of enum
154+
/// Handles storing `null` value as -1 and returns anything out of enum
155155
/// index range as null value.
156156
class FlexSchemeColorAdapter extends TypeAdapter<SchemeColor?> {
157157
@override
@@ -211,7 +211,7 @@ class NavigationRailLabelTypeAdapter
211211

212212
/// A Hive data type adapter for enum [FlexSliderIndicatorType], nullable.
213213
///
214-
/// Handles storing <null> value as -1 and returns anything out of enum
214+
/// Handles storing `null` value as -1 and returns anything out of enum
215215
/// index range as null value.
216216
class FlexSliderIndicatorTypeAdapter
217217
extends TypeAdapter<FlexSliderIndicatorType?> {
@@ -236,7 +236,7 @@ class FlexSliderIndicatorTypeAdapter
236236

237237
/// A Hive data type adapter for enum [ShowValueIndicator], nullable.
238238
///
239-
/// Handles storing <null> value as -1 and returns anything out of enum
239+
/// Handles storing `null` value as -1 and returns anything out of enum
240240
/// index range as null value.
241241
class ShowValueIndicatorAdapter extends TypeAdapter<ShowValueIndicator?> {
242242
@override
@@ -264,7 +264,7 @@ class ShowValueIndicatorAdapter extends TypeAdapter<ShowValueIndicator?> {
264264

265265
/// A Hive data type adapter for enum [TabBarIndicatorSize], nullable.
266266
///
267-
/// Handles storing <null> value as -1 and returns anything out of enum
267+
/// Handles storing `null` value as -1 and returns anything out of enum
268268
/// index range as null value.
269269
class TabBarIndicatorSizeAdapter extends TypeAdapter<TabBarIndicatorSize?> {
270270
@override
@@ -288,7 +288,7 @@ class TabBarIndicatorSizeAdapter extends TypeAdapter<TabBarIndicatorSize?> {
288288

289289
/// A Hive data type adapter for enum [AdaptiveResponse], nullable.
290290
///
291-
/// Handles storing <null> value as -1 and returns anything out of enum
291+
/// Handles storing `null` value as -1 and returns anything out of enum
292292
/// index range as null value.
293293
class AdaptiveThemeAdapter extends TypeAdapter<AdaptiveResponse?> {
294294
@override
@@ -312,7 +312,7 @@ class AdaptiveThemeAdapter extends TypeAdapter<AdaptiveResponse?> {
312312

313313
/// A Hive data type adapter for enum [FlexPaletteType], nullable.
314314
///
315-
/// Handles storing <null> value as -1 and returns anything out of enum
315+
/// Handles storing `null` value as -1 and returns anything out of enum
316316
/// index range as null value.
317317
class FlexPaletteTypeAdapter extends TypeAdapter<FlexPaletteType?> {
318318
@override
@@ -336,7 +336,7 @@ class FlexPaletteTypeAdapter extends TypeAdapter<FlexPaletteType?> {
336336

337337
/// A Hive data type adapter for enum [VisualDensityEnum], nullable.
338338
///
339-
/// Handles storing <null> value as -1 and returns anything out of enum
339+
/// Handles storing `null` value as -1 and returns anything out of enum
340340
/// index range as null value.
341341
class VisualDensityEnumAdapter extends TypeAdapter<VisualDensityEnum?> {
342342
@override
@@ -360,7 +360,7 @@ class VisualDensityEnumAdapter extends TypeAdapter<VisualDensityEnum?> {
360360

361361
/// A Hive data type adapter for enum [SplashTypeEnum], nullable.
362362
///
363-
/// Handles storing <null> value as -1 and returns anything out of enum
363+
/// Handles storing `null` value as -1 and returns anything out of enum
364364
/// index range as null value.
365365
class SplashTypeEnumAdapter extends TypeAdapter<SplashTypeEnum?> {
366366
@override
@@ -384,7 +384,7 @@ class SplashTypeEnumAdapter extends TypeAdapter<SplashTypeEnum?> {
384384

385385
/// A Hive data type adapter for enum [TabAlignment], nullable.
386386
///
387-
/// Handles storing <null> value as -1 and returns anything out of enum
387+
/// Handles storing `null` value as -1 and returns anything out of enum
388388
/// index range as null value.
389389
class TabAlignmentAdapter extends TypeAdapter<TabAlignment?> {
390390
@override
@@ -408,7 +408,7 @@ class TabAlignmentAdapter extends TypeAdapter<TabAlignment?> {
408408

409409
/// A Hive data type adapter for enum [FlexFixedColorStyle], nullable.
410410
///
411-
/// Handles storing <null> value as -1 and returns anything out of enum
411+
/// Handles storing `null` value as -1 and returns anything out of enum
412412
/// index range as null value.
413413
class FlexFixedColorStyleAdapter extends TypeAdapter<FlexFixedColorStyle?> {
414414
@override
@@ -432,7 +432,7 @@ class FlexFixedColorStyleAdapter extends TypeAdapter<FlexFixedColorStyle?> {
432432

433433
/// A Hive data type adapter for enum [ListTileStyle], nullable.
434434
///
435-
/// Handles storing <null> value as -1 and returns anything out of enum
435+
/// Handles storing `null` value as -1 and returns anything out of enum
436436
/// index range as null value.
437437
class ListTileStyleAdapter extends TypeAdapter<ListTileStyle?> {
438438
@override
@@ -456,7 +456,7 @@ class ListTileStyleAdapter extends TypeAdapter<ListTileStyle?> {
456456

457457
/// A Hive data type adapter for enum [ListTileTitleAlignment], nullable.
458458
///
459-
/// Handles storing <null> value as -1 and returns anything out of enum
459+
/// Handles storing `null` value as -1 and returns anything out of enum
460460
/// index range as null value.
461461
class ListTileTitleAlignmentAdapter
462462
extends TypeAdapter<ListTileTitleAlignment?> {
@@ -481,7 +481,7 @@ class ListTileTitleAlignmentAdapter
481481

482482
/// A Hive data type adapter for enum [ListTileControlAffinity], nullable.
483483
///
484-
/// Handles storing <null> value as -1 and returns anything out of enum
484+
/// Handles storing `null` value as -1 and returns anything out of enum
485485
/// index range as null value.
486486
class ListTileControlAffinityAdapter
487487
extends TypeAdapter<ListTileControlAffinity?> {
@@ -506,7 +506,7 @@ class ListTileControlAffinityAdapter
506506

507507
/// A Hive data type adapter for enum [MaterialTapTargetSize], nullable.
508508
///
509-
/// Handles storing <null> value as -1 and returns anything out of enum
509+
/// Handles storing `null` value as -1 and returns anything out of enum
510510
/// index range as null value.
511511
class MaterialTapTargetSizeAdapter extends TypeAdapter<MaterialTapTargetSize?> {
512512
@override
@@ -530,7 +530,7 @@ class MaterialTapTargetSizeAdapter extends TypeAdapter<MaterialTapTargetSize?> {
530530

531531
/// A Hive data type adapter for enum [FlexScaffoldBaseColor], nullable.
532532
///
533-
/// Handles storing <null> value as -1 and returns anything out of enum
533+
/// Handles storing `null` value as -1 and returns anything out of enum
534534
/// index range as null value.
535535
class FlexScaffoldBaseColorAdapter extends TypeAdapter<FlexScaffoldBaseColor?> {
536536
@override

0 commit comments

Comments
 (0)