Skip to content

Commit

Permalink
add: version 0.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
DaisukeNagata committed Oct 10, 2022
1 parent 457ef2a commit 784cd26
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,8 @@

## 0.2.2

* Refactor

## 0.2.3

* Refactor
3 changes: 1 addition & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ class _WheelPageState extends State<WheelPage> {
/// Example
void _updateData(bool flg) {
setState(() {
wheelLogic.loop1();
wheelLogic.setHeightValue(flg);
wheelLogic.loop1(flg);
wheelDataSet = WheelDataSet(
logic: wheelLogic,
slideActionFlg: _slideActionFlg,
Expand Down
3 changes: 1 addition & 2 deletions example/lib/wheel_example2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ class _WheelPageState2 extends State<WheelPage2> {
/// Example
void _updateData(bool flg) {
setState(() {
wheelLogic.loop2();
wheelLogic.setHeightValue2(flg);
wheelLogic.loop2(flg);
wheelDataSet = WheelDataSet(
logic: wheelLogic,
slideActionFlg: _slideActionFlg,
Expand Down
6 changes: 4 additions & 2 deletions example/lib/wheel_extension_logic.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extension Range on int {
}

extension loopLogic on WheelLogic {
loop1() {
loop1(bool flg) {
textList.clear();
pageList.clear();
for (var i = 1; i < 11; i++) {
Expand All @@ -32,9 +32,10 @@ extension loopLogic on WheelLogic {
valueSet = pageList.first;
fontSize = 0.randomIntWithRange(10, 50).toDouble();
margin = 0.randomIntWithRange(50, 200).toDouble();
setHeightValue(flg);
}

loop2() {
loop2(bool flg) {
textListLists.clear();
pageList.clear();
for (var i = 0; i < 10; i++) {
Expand All @@ -49,6 +50,7 @@ extension loopLogic on WheelLogic {

fontSize = 0.randomIntWithRange(10, 50).toDouble();
margin = 0.randomIntWithRange(50, 200).toDouble();
setHeightValue2(flg);
}

void setHeightValue(bool flg) {
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.2.2"
version: "0.2.3"
sdks:
dart: ">=2.18.1 <3.0.0"
flutter: ">=2.5.0"
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: wheel_expand_list
description: It works in 3D with horizontal scrolling. If the area is exceeded, vertical scrolling occurs.
version: 0.2.2
version: 0.2.3

homepage: https://github.com/daisukenagata/wheel_expand_list

Expand Down

0 comments on commit 784cd26

Please sign in to comment.