Skip to content

Commit

Permalink
Fix code format and README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
rickypid committed Apr 10, 2023
1 parent 9067456 commit a56fc5a
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## [1.2.1] - 2023-04-10
#### [@rickypid](https://github.com/rickypid)

* Fix code format and README.md.

## [1.2.0] - 2023-04-09
#### [@rickypid](https://github.com/rickypid)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Add the following line to `pubspec.yaml`:

```yaml
dependencies:
flutter_bargraph: ^1.1.0
flutter_bargraph: <last-release>
```
### Basic setup
Expand Down
8 changes: 4 additions & 4 deletions example/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Add the following line to `pubspec.yaml`:

```yaml
dependencies:
flutter_bargraph: ^1.1.0
flutter_bargraph: <last-release>
```
### Basic setup
Expand All @@ -46,9 +46,9 @@ dependencies:

```dart
BarGraph(
min: 0,
max: 100.0,
value: 65.0,
min: 0,
max: 100.0,
value: 65.0,
);
```

Expand Down
2 changes: 1 addition & 1 deletion example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@ class _MyHomePageState extends State<MyHomePage> {
),
);
}
}
}
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_bargraph_example
description: Flutter simple example, single value bar graph viewer with indicators
version: 1.1.1
version: 1.2.1

environment:
sdk: '>=2.19.6 <3.0.0'
Expand Down
3 changes: 1 addition & 2 deletions lib/src/bargraph.dart
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,7 @@ class _BarGraphState extends State<BarGraph> with TickerProviderStateMixin {
List<Widget> widgets = List.generate(widget.divisions + 1, (index) {
return Container(
color: widget.indicatorsColor,
width: (widget.orientation ==
BarGraphOrientation.horizontalFromLeft ||
width: (widget.orientation == BarGraphOrientation.horizontalFromLeft ||
widget.orientation == BarGraphOrientation.horizzontalFromRight)
? 3
: null,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: flutter_bargraph
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.
version: 1.2.0
version: 1.2.1
homepage: https://github.com/rickypid/flutter_bargraph
repository: https://github.com/rickypid/flutter_bargraph
issue_tracker: https://github.com/rickypid/flutter_bargraph/issues
Expand Down

0 comments on commit a56fc5a

Please sign in to comment.