Skip to content

Commit 45e5802

Browse files
medznank1ro
andauthored
docs: update README badges and improve code block formatting (#121)
Co-authored-by: Alexandru Mariuti <alex@mariuti.com>
1 parent b4dee67 commit 45e5802

3 files changed

Lines changed: 12 additions & 9 deletions

File tree

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
[![Coverage](https://codecov.io/gh/nank1ro/solidart/branch/main/graph/badge.svg?token=HvJYtaixiW)](https://codecov.io/gh/nank1ro/solidart)
44
[![GitHub issues](https://img.shields.io/github/issues/nank1ro/solidart)](https://github.com/nank1ro/solidart/issues/)
55
[![GitHub pull-requests](https://img.shields.io/github/issues-pr/nank1ro/solidart.svg)](https://gitHub.com/nank1ro/solidart/pull/)
6-
[![solidart Pub Version (including pre-releases)](https://img.shields.io/pub/v/solidart?include_prereleases)](https://pub.dev/packages/solidart)
7-
[![flutter_solidart Pub Version (including pre-releases)](https://img.shields.io/pub/v/flutter_solidart?include_prereleases)](https://pub.dev/packages/flutter_solidart)
6+
[![solidart Pub Version](https://img.shields.io/pub/v/solidart?label=solidart)](https://pub.dev/packages/solidart)
7+
[![flutter_solidart Pub Version](https://img.shields.io/pub/v/flutter_solidart?label=flutter_solidart)](https://pub.dev/packages/flutter_solidart)
88
[![All Contributors](https://img.shields.io/github/all-contributors/nank1ro/solidart?color=ee8449&style=flat-square)](#contributors)
99
[![](https://dcbadge.vercel.app/api/server/2JBzeeQShh)](https://discord.gg/2JBzeeQShh)
1010

@@ -41,13 +41,14 @@ final counter = Signal(0);
4141

4242
The argument passed to the class is the initial value, and the return value is the signal.
4343

44-
4544
To retrieve the current value, you can use:
45+
4646
```dart
4747
print(counter.value); // prints 0
4848
```
4949

5050
To change the value, you can use:
51+
5152
```dart
5253
// Set the value to 2
5354
counter.value = 2;

packages/flutter_solidart/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
[![Coverage](https://codecov.io/gh/nank1ro/solidart/branch/main/graph/badge.svg?token=HvJYtaixiW)](https://codecov.io/gh/nank1ro/solidart)
44
[![GitHub issues](https://img.shields.io/github/issues/nank1ro/solidart)](https://github.com/nank1ro/solidart/issues/)
55
[![GitHub pull-requests](https://img.shields.io/github/issues-pr/nank1ro/solidart.svg)](https://gitHub.com/nank1ro/solidart/pull/)
6-
[![solidart Pub Version (including pre-releases)](https://img.shields.io/pub/v/solidart?include_prereleases)](https://pub.dev/packages/solidart)
7-
[![flutter_solidart Pub Version (including pre-releases)](https://img.shields.io/pub/v/flutter_solidart?include_prereleases)](https://pub.dev/packages/flutter_solidart)
6+
[![solidart Pub Version](https://img.shields.io/pub/v/solidart?label=solidart)](https://pub.dev/packages/solidart)
7+
[![flutter_solidart Pub Version](https://img.shields.io/pub/v/flutter_solidart?label=flutter_solidart)](https://pub.dev/packages/flutter_solidart)
88
[![All Contributors](https://img.shields.io/github/all-contributors/nank1ro/solidart?color=ee8449&style=flat-square)](#contributors)
99
[![](https://dcbadge.vercel.app/api/server/2JBzeeQShh)](https://discord.gg/2JBzeeQShh)
1010

@@ -41,13 +41,14 @@ final counter = Signal(0);
4141

4242
The argument passed to the class is the initial value, and the return value is the signal.
4343

44-
4544
To retrieve the current value, you can use:
45+
4646
```dart
4747
print(counter.value); // prints 0
4848
```
4949

5050
To change the value, you can use:
51+
5152
```dart
5253
// Set the value to 2
5354
counter.value = 2;

packages/solidart/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
[![Coverage](https://codecov.io/gh/nank1ro/solidart/branch/main/graph/badge.svg?token=HvJYtaixiW)](https://codecov.io/gh/nank1ro/solidart)
44
[![GitHub issues](https://img.shields.io/github/issues/nank1ro/solidart)](https://github.com/nank1ro/solidart/issues/)
55
[![GitHub pull-requests](https://img.shields.io/github/issues-pr/nank1ro/solidart.svg)](https://gitHub.com/nank1ro/solidart/pull/)
6-
[![solidart Pub Version (including pre-releases)](https://img.shields.io/pub/v/solidart?include_prereleases)](https://pub.dev/packages/solidart)
7-
[![flutter_solidart Pub Version (including pre-releases)](https://img.shields.io/pub/v/flutter_solidart?include_prereleases)](https://pub.dev/packages/flutter_solidart)
6+
[![solidart Pub Version](https://img.shields.io/pub/v/solidart?label=solidart)](https://pub.dev/packages/solidart)
7+
[![flutter_solidart Pub Version](https://img.shields.io/pub/v/flutter_solidart?label=flutter_solidart)](https://pub.dev/packages/flutter_solidart)
88
[![All Contributors](https://img.shields.io/github/all-contributors/nank1ro/solidart?color=ee8449&style=flat-square)](#contributors)
99
[![](https://dcbadge.vercel.app/api/server/2JBzeeQShh)](https://discord.gg/2JBzeeQShh)
1010

@@ -40,13 +40,14 @@ final counter = Signal(0);
4040

4141
The argument passed to the class is the initial value, and the return value is the signal.
4242

43-
4443
To retrieve the current value, you can use:
44+
4545
```dart
4646
print(counter.value); // prints 0
4747
```
4848

4949
To change the value, you can use:
50+
5051
```dart
5152
// Set the value to 2
5253
counter.value = 2;

0 commit comments

Comments
 (0)