Skip to content

Commit

Permalink
. e git to common folder
Browse files Browse the repository at this point in the history
  • Loading branch information
yelmuratoff committed Jun 29, 2024
1 parent 6676903 commit ef66fb6
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 10 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ jobs:

- name: ⬆️ Auto-Deploy to pub.dev
run: |
./bash/push_release.sh
./packages/approval_tests/bash/push_release.sh
shell: bash
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@ jobs:
"C:\\Program Files\\Android\\Android Studio\\bin\\studio64.exe" --version
fi
shell: bash

- name: Go to approval_tests
run: |
cd packages
cd approval_tests
- name: 📦 Install Dependencies
run: |
Expand Down
File renamed without changes.
File renamed without changes.
11 changes: 3 additions & 8 deletions examples/flutter_example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,9 @@ class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
return const MaterialApp(
title: 'Approved Demo',
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
useMaterial3: true,
),
home: const MyHomePage(title: 'Approved Example'),
home: MyHomePage(title: 'Approved Example'),
);
}
}
Expand All @@ -37,7 +33,6 @@ class _MyHomePageState extends State<MyHomePage> {
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(widget.title),
),
body: Center(
Expand All @@ -56,7 +51,7 @@ class _MyHomePageState extends State<MyHomePage> {
floatingActionButton: FloatingActionButton(
onPressed: _incrementCounter,
child: const Icon(Icons.add),
), // This trailing comma makes auto-formatting nicer for build methods.
),
);
}
}
2 changes: 1 addition & 1 deletion packages/approval_tests_flutter/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div align="center">
<p align="center">
<a href="https://github.com/approvals/ApprovalTests.Dart" align="center">
<img src="https://github.com/yelmuratoff/packages_assets/blob/main/assets/approval_tests/approval_tests.png?raw=true" width="400px">
<img src="https://github.com/yelmuratoff/packages_assets/blob/main/assets/approval_tests/approval_tests_flutter.png?raw=true" width="400px">
</a>
</p>
</div>
Expand Down

0 comments on commit ef66fb6

Please sign in to comment.