Skip to content

Commit

Permalink
Merge pull request #32 from M97Chahboun/staging
Browse files Browse the repository at this point in the history
Promote Version 2.2.6 from alpha to production
  • Loading branch information
M97Chahboun authored Oct 1, 2022
2 parents 02f3d86 + ab540f9 commit ad4ec10
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,6 @@ CI/CD & Branching template for flutter apps.
## Repo workflow


![alt text](repo_workflow.jpg)
![alt text](repo_workflow.jpg)

Test All Workflows
22 changes: 12 additions & 10 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,13 @@ class MyHomePage extends StatefulWidget {
class _MyHomePageState extends State<MyHomePage> {
int _counter = 0;

void _incrementCounter() {
_onTapButton(String action) {
setState(() {
_counter++;
});
}

void _decrementCounter() {
setState(() {
_counter--;
if (action == "+") {
_counter++;
} else {
_counter--;
}
});
}

Expand Down Expand Up @@ -67,12 +65,16 @@ class _MyHomePageState extends State<MyHomePage> {
mainAxisAlignment: MainAxisAlignment.spaceAround,
children: [
FloatingActionButton(
onPressed: _incrementCounter,
onPressed: () {
_onTapButton("+");
},
tooltip: 'Increment',
child: const Icon(Icons.add),
),
FloatingActionButton(
onPressed: _decrementCounter,
onPressed: () {
_onTapButton("-");
},
tooltip: 'Decrement',
child: const Icon(Icons.minimize),
)
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

version: 2.2.5+15
version: 2.2.6+16

environment:
sdk: ">=2.17.6 <3.0.0"
Expand Down

0 comments on commit ad4ec10

Please sign in to comment.