diff --git a/packages/approval_tests/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md similarity index 100% rename from packages/approval_tests/.github/ISSUE_TEMPLATE/bug_report.md rename to .github/ISSUE_TEMPLATE/bug_report.md diff --git a/packages/approval_tests/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md similarity index 100% rename from packages/approval_tests/.github/ISSUE_TEMPLATE/feature_request.md rename to .github/ISSUE_TEMPLATE/feature_request.md diff --git a/packages/approval_tests/.github/dependabot.yml b/.github/dependabot.yml similarity index 100% rename from packages/approval_tests/.github/dependabot.yml rename to .github/dependabot.yml diff --git a/packages/approval_tests/.github/workflows/auto_deploy.yml b/.github/workflows/auto_deploy.yml similarity index 88% rename from packages/approval_tests/.github/workflows/auto_deploy.yml rename to .github/workflows/auto_deploy.yml index a65645f..fc115d1 100644 --- a/packages/approval_tests/.github/workflows/auto_deploy.yml +++ b/.github/workflows/auto_deploy.yml @@ -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 \ No newline at end of file diff --git a/packages/approval_tests/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml similarity index 96% rename from packages/approval_tests/.github/workflows/build_and_test.yml rename to .github/workflows/build_and_test.yml index 525d3cb..c0418dd 100644 --- a/packages/approval_tests/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -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: | diff --git a/packages/approval_tests/.github/workflows/mdsnippets.yml b/.github/workflows/mdsnippets.yml similarity index 100% rename from packages/approval_tests/.github/workflows/mdsnippets.yml rename to .github/workflows/mdsnippets.yml diff --git a/packages/approval_tests/.github/workflows/publish.yml b/.github/workflows/publish.yml similarity index 100% rename from packages/approval_tests/.github/workflows/publish.yml rename to .github/workflows/publish.yml diff --git a/examples/flutter_example/lib/main.dart b/examples/flutter_example/lib/main.dart index 5b44708..4b22711 100644 --- a/examples/flutter_example/lib/main.dart +++ b/examples/flutter_example/lib/main.dart @@ -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'), ); } } @@ -37,7 +33,6 @@ class _MyHomePageState extends State { Widget build(BuildContext context) { return Scaffold( appBar: AppBar( - backgroundColor: Theme.of(context).colorScheme.inversePrimary, title: Text(widget.title), ), body: Center( @@ -56,7 +51,7 @@ class _MyHomePageState extends State { floatingActionButton: FloatingActionButton( onPressed: _incrementCounter, child: const Icon(Icons.add), - ), // This trailing comma makes auto-formatting nicer for build methods. + ), ); } } diff --git a/packages/approval_tests_flutter/README.md b/packages/approval_tests_flutter/README.md index 160b198..2871e52 100644 --- a/packages/approval_tests_flutter/README.md +++ b/packages/approval_tests_flutter/README.md @@ -1,7 +1,7 @@

- +