Skip to content

Commit a56fc5a

Browse files
committed
Fix code format and README.md.
1 parent 9067456 commit a56fc5a

7 files changed

Lines changed: 14 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [1.2.1] - 2023-04-10
2+
#### [@rickypid](https://github.com/rickypid)
3+
4+
* Fix code format and README.md.
5+
16
## [1.2.0] - 2023-04-09
27
#### [@rickypid](https://github.com/rickypid)
38

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Add the following line to `pubspec.yaml`:
3232

3333
```yaml
3434
dependencies:
35-
flutter_bargraph: ^1.1.0
35+
flutter_bargraph: <last-release>
3636
```
3737
3838
### Basic setup

example/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Add the following line to `pubspec.yaml`:
3232

3333
```yaml
3434
dependencies:
35-
flutter_bargraph: ^1.1.0
35+
flutter_bargraph: <last-release>
3636
```
3737
3838
### Basic setup
@@ -46,9 +46,9 @@ dependencies:
4646

4747
```dart
4848
BarGraph(
49-
min: 0,
50-
max: 100.0,
51-
value: 65.0,
49+
min: 0,
50+
max: 100.0,
51+
value: 65.0,
5252
);
5353
```
5454

example/lib/main.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,4 @@ class _MyHomePageState extends State<MyHomePage> {
9696
),
9797
);
9898
}
99-
}
99+
}

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_bargraph_example
22
description: Flutter simple example, single value bar graph viewer with indicators
3-
version: 1.1.1
3+
version: 1.2.1
44

55
environment:
66
sdk: '>=2.19.6 <3.0.0'

lib/src/bargraph.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,7 @@ class _BarGraphState extends State<BarGraph> with TickerProviderStateMixin {
300300
List<Widget> widgets = List.generate(widget.divisions + 1, (index) {
301301
return Container(
302302
color: widget.indicatorsColor,
303-
width: (widget.orientation ==
304-
BarGraphOrientation.horizontalFromLeft ||
303+
width: (widget.orientation == BarGraphOrientation.horizontalFromLeft ||
305304
widget.orientation == BarGraphOrientation.horizzontalFromRight)
306305
? 3
307306
: null,

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_bargraph
22
description: Bar Graph Indicator for Flutter. It graphically displays the current value on a bar graph with animation when the value changes. orientation/direction of the bar is castumizable.
3-
version: 1.2.0
3+
version: 1.2.1
44
homepage: https://github.com/rickypid/flutter_bargraph
55
repository: https://github.com/rickypid/flutter_bargraph
66
issue_tracker: https://github.com/rickypid/flutter_bargraph/issues

0 commit comments

Comments
 (0)