From 5918bc56013332782324850c5c3e055d66c8cf69 Mon Sep 17 00:00:00 2001 From: Hugo Pointcheval Date: Thu, 13 Apr 2023 20:17:25 +0200 Subject: [PATCH] docs: change some documentation --- README.md | 6 ++++-- packages/wyatt_analysis/README.md | 2 +- packages/wyatt_architecture/README.md | 4 ++-- packages/wyatt_type_utils/README.md | 10 +++++++++- packages/wyatt_type_utils/lib/src/src.dart | 6 +----- 5 files changed, 17 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index e8ed43f5..8b78891e 100644 --- a/README.md +++ b/README.md @@ -253,14 +253,16 @@ In the package `readme.md` file, please specify the supported SDK: or -![SDK: Dart](https://img.shields.io/badge/SDK-Dart-blue?style=flat-square) +![SDK: Flutter](https://img.shields.io/badge/SDK-Flutter-blue?style=flat-square) ```markdown -![SDK: Dart](https://img.shields.io/badge/SDK-Dart-blue?style=flat-square) +![SDK: Flutter](https://img.shields.io/badge/SDK-Flutter-blue?style=flat-square) ``` +> Some packages requires Flutter, so please specify it. + --- ## Usage diff --git a/packages/wyatt_analysis/README.md b/packages/wyatt_analysis/README.md index 28b5244d..95d85e02 100644 --- a/packages/wyatt_analysis/README.md +++ b/packages/wyatt_analysis/README.md @@ -20,7 +20,7 @@ ![SDK: Dart & Flutter](https://img.shields.io/badge/SDK-Dart%20%7C%20Flutter-blue?style=flat-square) -This package provides lint rules for Dart and Flutter which are used at [Wyatt](https://wyattapp.io) and [Wyatt Studio](https://wyatt-studio.fr). For more information, see the complete list of options in **lib/analysis_options.2.4.1.yaml**. +This package provides lint rules for Dart and Flutter which are used at [Wyatt Studio](https://wyatt-studio.fr). For more information, see the complete list of options in **lib/analysis_options.2.4.1.yaml**. **Note**: This package was heavily inspired by [pedantic](https://github.com/dart-lang/pedantic), [Very Good Analysis](https://github.com/VeryGoodOpenSource/very_good_analysis) and the official [flutter_lints](https://pub.dev/packages/flutter_lints). diff --git a/packages/wyatt_architecture/README.md b/packages/wyatt_architecture/README.md index 263ab0e2..e077fbec 100644 --- a/packages/wyatt_architecture/README.md +++ b/packages/wyatt_architecture/README.md @@ -16,11 +16,11 @@ * along with this program. If not, see . --> -# Flutter - Wyatt Architecture +# Wyatt Architecture

Style: Wyatt Analysis - SDK: Flutter + SDK: Dart & Flutter

The Wyatt Architecture for Flutter. Contains useful classes to help you to create a clean architecture following the Wyatt Architecture. (core, data, domain, presentation). diff --git a/packages/wyatt_type_utils/README.md b/packages/wyatt_type_utils/README.md index 98034973..b36d5c1f 100644 --- a/packages/wyatt_type_utils/README.md +++ b/packages/wyatt_type_utils/README.md @@ -16,7 +16,7 @@ * along with this program. If not, see . --> -# Dart - Wyatt Type Utils +# Wyatt Type Utils

Style: Wyatt Analysis @@ -142,3 +142,11 @@ The date formatter works with `String` formatter: final DateTime date = DateTime(1999, 6, 30); print(date.format([dd, '/', mm, '/', yy])); // prints '30/06/99' ``` + +Allow comparison between nullable numbers: + +```dart +final int? a = 10; +final int? b = 20; +print(a < b); // prints 'true' +``` diff --git a/packages/wyatt_type_utils/lib/src/src.dart b/packages/wyatt_type_utils/lib/src/src.dart index 34d55694..c1d65c3c 100644 --- a/packages/wyatt_type_utils/lib/src/src.dart +++ b/packages/wyatt_type_utils/lib/src/src.dart @@ -15,9 +15,5 @@ // along with this program. If not, see . export 'either/either_base.dart'; -export 'extensions/date_time_extension.dart'; -export 'extensions/encoding.dart'; -export 'extensions/iterable_extension.dart'; -export 'extensions/object_extension.dart'; -export 'extensions/string_extension.dart'; +export 'extensions/extensions.dart'; export 'pair/pair.dart';