docs: change some documentation
This commit is contained in:
parent
e5e0550017
commit
41add204f3
@ -253,14 +253,16 @@ In the package `readme.md` file, please specify the supported SDK:
|
||||
|
||||
or
|
||||
|
||||

|
||||

|
||||
|
||||
```markdown
|
||||
|
||||

|
||||

|
||||
|
||||
```
|
||||
|
||||
> Some packages requires Flutter, so please specify it.
|
||||
|
||||
---
|
||||
|
||||
## Usage
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||

|
||||
|
||||
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).
|
||||
|
||||
|
@ -16,11 +16,11 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
# Flutter - Wyatt Architecture
|
||||
# Wyatt Architecture
|
||||
|
||||
<p align="left">
|
||||
<a href="https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages/src/branch/master/packages/wyatt_analysis"><img src="https://img.shields.io/badge/Style-Wyatt%20Analysis-blue.svg?style=flat-square" alt="Style: Wyatt Analysis" /></a>
|
||||
<img src="https://img.shields.io/badge/SDK-Flutter-blue?style=flat-square" alt="SDK: Flutter" />
|
||||
<img src="https://img.shields.io/badge/SDK-Dart%20%7C%20Flutter-blue?style=flat-square" alt="SDK: Dart & Flutter" />
|
||||
</p>
|
||||
|
||||
The Wyatt Architecture for Flutter. Contains useful classes to help you to create a clean architecture following the Wyatt Architecture. (core, data, domain, presentation).
|
||||
|
@ -16,7 +16,7 @@
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
# Dart - Wyatt Type Utils
|
||||
# Wyatt Type Utils
|
||||
|
||||
<p align="left">
|
||||
<a href="https://git.wyatt-studio.fr/Wyatt-FOSS/wyatt-packages/src/branch/master/packages/wyatt_analysis"><img src="https://img.shields.io/badge/Style-Wyatt%20Analysis-blue.svg?style=flat-square" alt="Style: Wyatt Analysis" /></a>
|
||||
@ -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'
|
||||
```
|
||||
|
@ -15,9 +15,5 @@
|
||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
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';
|
||||
|
Loading…
x
Reference in New Issue
Block a user