cocoapods-embed-flutter 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +59 -1
- data/README.md +5 -0
- data/Rakefile +14 -2
- data/cocoapods-embed-flutter.gemspec +12 -11
- data/lib/cocoapods-embed-flutter/gem_version.rb +1 -1
- metadata +7 -33
- data/.github/config/config.js +0 -21
- data/.github/config/package-lock.json +0 -223
- data/.github/config/package.json +0 -16
- data/.github/config/pre_changelog_hook.js +0 -27
- data/.github/dependabot.yml +0 -23
- data/.github/workflows/main.yml +0 -146
- data/example/flutter_module/.gitignore +0 -48
- data/example/flutter_module/.metadata +0 -10
- data/example/flutter_module/README.md +0 -11
- data/example/flutter_module/analysis_options.yaml +0 -4
- data/example/flutter_module/flutter_module.iml +0 -18
- data/example/flutter_module/flutter_module_android.iml +0 -27
- data/example/flutter_module/lib/main.dart +0 -112
- data/example/flutter_module/pubspec.lock +0 -174
- data/example/flutter_module/pubspec.yaml +0 -87
- data/example/flutter_module/test/widget_test.dart +0 -30
- data/example/ios_app/Gemfile +0 -4
- data/example/ios_app/Gemfile.lock +0 -110
- data/example/ios_app/Podfile +0 -11
- data/example/ios_app/Podfile.lock +0 -28
- data/example/ios_app/ios_app/Assets.xcassets/AccentColor.colorset/Contents.json +0 -11
- data/example/ios_app/ios_app/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -98
- data/example/ios_app/ios_app/Assets.xcassets/Contents.json +0 -6
- data/example/ios_app/ios_app/ContentView.swift +0 -40
- data/example/ios_app/ios_app/Preview Content/Preview Assets.xcassets/Contents.json +0 -6
- data/example/ios_app/ios_app/ios_appApp.swift +0 -18
- data/example/ios_app/ios_app.xcodeproj/project.pbxproj +0 -426
data/.github/workflows/main.yml
DELETED
@@ -1,146 +0,0 @@
|
|
1
|
-
name: CI/CD
|
2
|
-
|
3
|
-
on:
|
4
|
-
push:
|
5
|
-
branches: [ main ]
|
6
|
-
paths-ignore:
|
7
|
-
- '*.md'
|
8
|
-
pull_request:
|
9
|
-
branches: [ main ]
|
10
|
-
paths-ignore:
|
11
|
-
- '*.md'
|
12
|
-
workflow_dispatch:
|
13
|
-
inputs:
|
14
|
-
release:
|
15
|
-
description: Create release
|
16
|
-
required: false
|
17
|
-
type: boolean
|
18
|
-
|
19
|
-
env:
|
20
|
-
RUBY_VER: 2.6
|
21
|
-
|
22
|
-
concurrency:
|
23
|
-
group: ${{ github.ref }}
|
24
|
-
cancel-in-progress: true
|
25
|
-
|
26
|
-
jobs:
|
27
|
-
ci:
|
28
|
-
name: Run Tests
|
29
|
-
runs-on: ubuntu-latest
|
30
|
-
outputs:
|
31
|
-
release: ${{ steps.check_version_bump.outputs.release_type != '' }}
|
32
|
-
|
33
|
-
steps:
|
34
|
-
- name: Checkout repository
|
35
|
-
uses: actions/checkout@v3
|
36
|
-
|
37
|
-
- name: Setup Ruby
|
38
|
-
uses: ruby/setup-ruby@v1
|
39
|
-
with:
|
40
|
-
ruby-version: ${{ env.RUBY_VER }}
|
41
|
-
|
42
|
-
- name: Install dependencies
|
43
|
-
run: |
|
44
|
-
bundle config deployment true
|
45
|
-
bundle install
|
46
|
-
|
47
|
-
- name: Run tests
|
48
|
-
run: bundle exec rake specs
|
49
|
-
|
50
|
-
- name: Install Flutter
|
51
|
-
uses: subosito/flutter-action@v2.3.0
|
52
|
-
|
53
|
-
- name: Setup Flutter for ios
|
54
|
-
run: |
|
55
|
-
flutter precache --ios
|
56
|
-
|
57
|
-
- name: Test example app
|
58
|
-
run: bundle exec rake demo
|
59
|
-
|
60
|
-
- name: Check version bump
|
61
|
-
id: check_version_bump
|
62
|
-
uses: mathieudutour/github-tag-action@v6.0
|
63
|
-
with:
|
64
|
-
github_token: ${{ github.token }}
|
65
|
-
default_bump: false
|
66
|
-
dry_run: true
|
67
|
-
|
68
|
-
cd:
|
69
|
-
name: Build and Publish
|
70
|
-
if: (github.event_name == 'push' && needs.ci.outputs.release == 'true') || (github.event_name == 'workflow_dispatch' && github.event.inputs.release == 'true')
|
71
|
-
needs: ci
|
72
|
-
runs-on: ubuntu-latest
|
73
|
-
|
74
|
-
steps:
|
75
|
-
- name: Checkout repository
|
76
|
-
uses: actions/checkout@v3
|
77
|
-
with:
|
78
|
-
fetch-depth: 0
|
79
|
-
|
80
|
-
- name: Setup node
|
81
|
-
uses: actions/setup-node@v3
|
82
|
-
with:
|
83
|
-
node-version: '17'
|
84
|
-
|
85
|
-
- name: Setup action config
|
86
|
-
run: npm install
|
87
|
-
working-directory: .github/config
|
88
|
-
|
89
|
-
- name: Setup Ruby
|
90
|
-
uses: ruby/setup-ruby@v1
|
91
|
-
with:
|
92
|
-
ruby-version: ${{ env.RUBY_VER }}
|
93
|
-
|
94
|
-
- name: Install dependencies
|
95
|
-
run: |
|
96
|
-
bundle config deployment true
|
97
|
-
bundle install
|
98
|
-
|
99
|
-
- name: Conventional Changelog Action
|
100
|
-
id: conventional_changelog
|
101
|
-
uses: TriPSs/conventional-changelog-action@v3
|
102
|
-
with:
|
103
|
-
github-token: ${{ github.token }}
|
104
|
-
git-message: 'chore(CHANGELOG): update for {version}'
|
105
|
-
git-user-name: ${{ github.actor }}
|
106
|
-
git-user-email: devsoumyamahunt@gmail.com
|
107
|
-
skip-version-file: true
|
108
|
-
release-count: 0
|
109
|
-
pre-changelog-generation: '.github/config/pre_changelog_hook.js'
|
110
|
-
config-file-path: '.github/config/config.js'
|
111
|
-
|
112
|
-
- name: Build gem
|
113
|
-
if: steps.conventional_changelog.outputs.skipped == 'false'
|
114
|
-
run: gem build *.gemspec
|
115
|
-
|
116
|
-
- name: Publish to GitHub Package Registry
|
117
|
-
if: steps.conventional_changelog.outputs.skipped == 'false'
|
118
|
-
run: |
|
119
|
-
mkdir -p $HOME/.gem
|
120
|
-
touch $HOME/.gem/credentials
|
121
|
-
chmod 0600 $HOME/.gem/credentials
|
122
|
-
printf -- "---\n:github: Bearer ${GITHUB_TOKEN}\n" > $HOME/.gem/credentials
|
123
|
-
gem push --KEY github --host https://rubygems.pkg.github.com/${OWNER} *.gem
|
124
|
-
env:
|
125
|
-
GITHUB_TOKEN: ${{ github.token }}
|
126
|
-
OWNER: ${{ github.repository_owner }}
|
127
|
-
|
128
|
-
- name: Publish to RubyGems
|
129
|
-
if: steps.conventional_changelog.outputs.skipped == 'false'
|
130
|
-
run: |
|
131
|
-
mkdir -p $HOME/.gem
|
132
|
-
touch $HOME/.gem/credentials
|
133
|
-
chmod 0600 $HOME/.gem/credentials
|
134
|
-
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
135
|
-
gem push *.gem
|
136
|
-
env:
|
137
|
-
GEM_HOST_API_KEY: ${{ secrets.RUBYGEMS_AUTH_TOKEN }}
|
138
|
-
|
139
|
-
- name: Create GitHub Release
|
140
|
-
if: steps.conventional_changelog.outputs.skipped == 'false'
|
141
|
-
uses: ncipollo/release-action@v1
|
142
|
-
with:
|
143
|
-
token: ${{ github.token }}
|
144
|
-
tag: ${{ steps.conventional_changelog.outputs.tag }}
|
145
|
-
body: ${{ steps.conventional_changelog.outputs.changelog }}
|
146
|
-
artifacts: '*.gem'
|
@@ -1,48 +0,0 @@
|
|
1
|
-
.DS_Store
|
2
|
-
.dart_tool/
|
3
|
-
|
4
|
-
.packages
|
5
|
-
.pub/
|
6
|
-
|
7
|
-
.idea/
|
8
|
-
.vagrant/
|
9
|
-
.sconsign.dblite
|
10
|
-
.svn/
|
11
|
-
|
12
|
-
*.swp
|
13
|
-
profile
|
14
|
-
|
15
|
-
DerivedData/
|
16
|
-
|
17
|
-
.generated/
|
18
|
-
|
19
|
-
*.pbxuser
|
20
|
-
*.mode1v3
|
21
|
-
*.mode2v3
|
22
|
-
*.perspectivev3
|
23
|
-
|
24
|
-
!default.pbxuser
|
25
|
-
!default.mode1v3
|
26
|
-
!default.mode2v3
|
27
|
-
!default.perspectivev3
|
28
|
-
|
29
|
-
xcuserdata
|
30
|
-
|
31
|
-
*.moved-aside
|
32
|
-
|
33
|
-
*.pyc
|
34
|
-
*sync/
|
35
|
-
Icon?
|
36
|
-
.tags*
|
37
|
-
|
38
|
-
build/
|
39
|
-
.android/
|
40
|
-
.ios/
|
41
|
-
.flutter-plugins
|
42
|
-
.flutter-plugins-dependencies
|
43
|
-
|
44
|
-
# Symbolication related
|
45
|
-
app.*.symbols
|
46
|
-
|
47
|
-
# Obfuscation related
|
48
|
-
app.*.map.json
|
@@ -1,10 +0,0 @@
|
|
1
|
-
# This file tracks properties of this Flutter project.
|
2
|
-
# Used by Flutter tool to assess capabilities and perform upgrades etc.
|
3
|
-
#
|
4
|
-
# This file should be version controlled and should not be manually edited.
|
5
|
-
|
6
|
-
version:
|
7
|
-
revision: 097d3313d8e2c7f901932d63e537c1acefb87800
|
8
|
-
channel: stable
|
9
|
-
|
10
|
-
project_type: module
|
@@ -1,11 +0,0 @@
|
|
1
|
-
# flutter_module
|
2
|
-
|
3
|
-
A new flutter module project.
|
4
|
-
|
5
|
-
## Getting Started
|
6
|
-
|
7
|
-
For help getting started with Flutter, view our online
|
8
|
-
[documentation](https://flutter.dev/).
|
9
|
-
|
10
|
-
For instructions integrating Flutter modules to your existing applications,
|
11
|
-
see the [add-to-app documentation](https://flutter.dev/docs/development/add-to-app).
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<module type="JAVA_MODULE" version="4">
|
3
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
4
|
-
<exclude-output />
|
5
|
-
<content url="file://$MODULE_DIR$">
|
6
|
-
<sourceFolder url="file://$MODULE_DIR$/lib" isTestSource="false" />
|
7
|
-
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
8
|
-
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
|
9
|
-
<excludeFolder url="file://$MODULE_DIR$/.idea" />
|
10
|
-
<excludeFolder url="file://$MODULE_DIR$/.pub" />
|
11
|
-
<excludeFolder url="file://$MODULE_DIR$/build" />
|
12
|
-
</content>
|
13
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
14
|
-
<orderEntry type="library" name="Dart SDK" level="project" />
|
15
|
-
<orderEntry type="library" name="Flutter Plugins" level="project" />
|
16
|
-
<orderEntry type="library" name="Dart Packages" level="project" />
|
17
|
-
</component>
|
18
|
-
</module>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<module type="JAVA_MODULE" version="4">
|
3
|
-
<component name="FacetManager">
|
4
|
-
<facet type="android" name="Android">
|
5
|
-
<configuration>
|
6
|
-
<option name="ALLOW_USER_CONFIGURATION" value="false" />
|
7
|
-
<option name="GEN_FOLDER_RELATIVE_PATH_APT" value="/.android/gen" />
|
8
|
-
<option name="GEN_FOLDER_RELATIVE_PATH_AIDL" value="/.android/gen" />
|
9
|
-
<option name="MANIFEST_FILE_RELATIVE_PATH" value="/.android/AndroidManifest.xml" />
|
10
|
-
<option name="RES_FOLDER_RELATIVE_PATH" value="/.android/res" />
|
11
|
-
<option name="ASSETS_FOLDER_RELATIVE_PATH" value="/.android/assets" />
|
12
|
-
<option name="LIBS_FOLDER_RELATIVE_PATH" value="/.android/libs" />
|
13
|
-
<option name="PROGUARD_LOGS_FOLDER_RELATIVE_PATH" value="/.android/proguard_logs" />
|
14
|
-
</configuration>
|
15
|
-
</facet>
|
16
|
-
</component>
|
17
|
-
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
18
|
-
<exclude-output />
|
19
|
-
<content url="file://$MODULE_DIR$/.android">
|
20
|
-
<sourceFolder url="file://$MODULE_DIR$/.android/Flutter/src/main/java" isTestSource="false" />
|
21
|
-
<sourceFolder url="file://$MODULE_DIR$/.android/gen" isTestSource="false" generated="true" />
|
22
|
-
</content>
|
23
|
-
<orderEntry type="jdk" jdkName="Android API 29 Platform" jdkType="Android SDK" />
|
24
|
-
<orderEntry type="sourceFolder" forTests="false" />
|
25
|
-
<orderEntry type="library" name="Flutter for Android" level="project" />
|
26
|
-
</component>
|
27
|
-
</module>
|
@@ -1,112 +0,0 @@
|
|
1
|
-
import 'package:flutter/material.dart';
|
2
|
-
|
3
|
-
void main() => runApp(const MyApp());
|
4
|
-
|
5
|
-
class MyApp extends StatelessWidget {
|
6
|
-
const MyApp({Key? key}) : super(key: key);
|
7
|
-
|
8
|
-
// This widget is the root of your application.
|
9
|
-
@override
|
10
|
-
Widget build(BuildContext context) {
|
11
|
-
return MaterialApp(
|
12
|
-
title: 'Flutter Demo',
|
13
|
-
theme: ThemeData(
|
14
|
-
// This is the theme of your application.
|
15
|
-
//
|
16
|
-
// Try running your application with "flutter run". You'll see the
|
17
|
-
// application has a blue toolbar. Then, without quitting the app, try
|
18
|
-
// changing the primarySwatch below to Colors.green and then invoke
|
19
|
-
// "hot reload" (press "r" in the console where you ran "flutter run",
|
20
|
-
// or press Run > Flutter Hot Reload in a Flutter IDE). Notice that the
|
21
|
-
// counter didn't reset back to zero; the application is not restarted.
|
22
|
-
primarySwatch: Colors.blue,
|
23
|
-
),
|
24
|
-
home: const MyHomePage(title: 'Flutter Demo Home Page'),
|
25
|
-
);
|
26
|
-
}
|
27
|
-
}
|
28
|
-
|
29
|
-
class MyHomePage extends StatefulWidget {
|
30
|
-
const MyHomePage({Key? key, required this.title}) : super(key: key);
|
31
|
-
|
32
|
-
// This widget is the home page of your application. It is stateful, meaning
|
33
|
-
// that it has a State object (defined below) that contains fields that affect
|
34
|
-
// how it looks.
|
35
|
-
|
36
|
-
// This class is the configuration for the state. It holds the values (in this
|
37
|
-
// case the title) provided by the parent (in this case the App widget) and
|
38
|
-
// used by the build method of the State. Fields in a Widget subclass are
|
39
|
-
// always marked "final".
|
40
|
-
|
41
|
-
final String title;
|
42
|
-
|
43
|
-
@override
|
44
|
-
State<MyHomePage> createState() => _MyHomePageState();
|
45
|
-
}
|
46
|
-
|
47
|
-
class _MyHomePageState extends State<MyHomePage> {
|
48
|
-
int _counter = 0;
|
49
|
-
|
50
|
-
void _incrementCounter() {
|
51
|
-
setState(() {
|
52
|
-
// This call to setState tells the Flutter framework that something has
|
53
|
-
// changed in this State, which causes it to rerun the build method below
|
54
|
-
// so that the display can reflect the updated values. If we changed
|
55
|
-
// _counter without calling setState(), then the build method would not be
|
56
|
-
// called again, and so nothing would appear to happen.
|
57
|
-
_counter++;
|
58
|
-
});
|
59
|
-
}
|
60
|
-
|
61
|
-
@override
|
62
|
-
Widget build(BuildContext context) {
|
63
|
-
// This method is rerun every time setState is called, for instance as done
|
64
|
-
// by the _incrementCounter method above.
|
65
|
-
//
|
66
|
-
// The Flutter framework has been optimized to make rerunning build methods
|
67
|
-
// fast, so that you can just rebuild anything that needs updating rather
|
68
|
-
// than having to individually change instances of widgets.
|
69
|
-
return Scaffold(
|
70
|
-
appBar: AppBar(
|
71
|
-
// Here we take the value from the MyHomePage object that was created by
|
72
|
-
// the App.build method, and use it to set our appbar title.
|
73
|
-
title: Text(widget.title),
|
74
|
-
),
|
75
|
-
body: Center(
|
76
|
-
// Center is a layout widget. It takes a single child and positions it
|
77
|
-
// in the middle of the parent.
|
78
|
-
child: Column(
|
79
|
-
// Column is also a layout widget. It takes a list of children and
|
80
|
-
// arranges them vertically. By default, it sizes itself to fit its
|
81
|
-
// children horizontally, and tries to be as tall as its parent.
|
82
|
-
//
|
83
|
-
// Invoke "debug painting" (press "p" in the console, choose the
|
84
|
-
// "Toggle Debug Paint" action from the Flutter Inspector in Android
|
85
|
-
// Studio, or the "Toggle Debug Paint" command in Visual Studio Code)
|
86
|
-
// to see the wireframe for each widget.
|
87
|
-
//
|
88
|
-
// Column has various properties to control how it sizes itself and
|
89
|
-
// how it positions its children. Here we use mainAxisAlignment to
|
90
|
-
// center the children vertically; the main axis here is the vertical
|
91
|
-
// axis because Columns are vertical (the cross axis would be
|
92
|
-
// horizontal).
|
93
|
-
mainAxisAlignment: MainAxisAlignment.center,
|
94
|
-
children: <Widget>[
|
95
|
-
const Text(
|
96
|
-
'You have pushed the button this many times:',
|
97
|
-
),
|
98
|
-
Text(
|
99
|
-
'$_counter',
|
100
|
-
style: Theme.of(context).textTheme.headline4,
|
101
|
-
),
|
102
|
-
],
|
103
|
-
),
|
104
|
-
),
|
105
|
-
floatingActionButton: FloatingActionButton(
|
106
|
-
onPressed: _incrementCounter,
|
107
|
-
tooltip: 'Increment',
|
108
|
-
child: const Icon(Icons.add),
|
109
|
-
), // This trailing comma makes auto-formatting nicer for build methods.
|
110
|
-
);
|
111
|
-
}
|
112
|
-
}
|
@@ -1,174 +0,0 @@
|
|
1
|
-
# Generated by pub
|
2
|
-
# See https://dart.dev/tools/pub/glossary#lockfile
|
3
|
-
packages:
|
4
|
-
async:
|
5
|
-
dependency: transitive
|
6
|
-
description:
|
7
|
-
name: async
|
8
|
-
url: "https://pub.dartlang.org"
|
9
|
-
source: hosted
|
10
|
-
version: "2.8.2"
|
11
|
-
boolean_selector:
|
12
|
-
dependency: transitive
|
13
|
-
description:
|
14
|
-
name: boolean_selector
|
15
|
-
url: "https://pub.dartlang.org"
|
16
|
-
source: hosted
|
17
|
-
version: "2.1.0"
|
18
|
-
characters:
|
19
|
-
dependency: transitive
|
20
|
-
description:
|
21
|
-
name: characters
|
22
|
-
url: "https://pub.dartlang.org"
|
23
|
-
source: hosted
|
24
|
-
version: "1.2.0"
|
25
|
-
charcode:
|
26
|
-
dependency: transitive
|
27
|
-
description:
|
28
|
-
name: charcode
|
29
|
-
url: "https://pub.dartlang.org"
|
30
|
-
source: hosted
|
31
|
-
version: "1.3.1"
|
32
|
-
clock:
|
33
|
-
dependency: transitive
|
34
|
-
description:
|
35
|
-
name: clock
|
36
|
-
url: "https://pub.dartlang.org"
|
37
|
-
source: hosted
|
38
|
-
version: "1.1.0"
|
39
|
-
collection:
|
40
|
-
dependency: transitive
|
41
|
-
description:
|
42
|
-
name: collection
|
43
|
-
url: "https://pub.dartlang.org"
|
44
|
-
source: hosted
|
45
|
-
version: "1.15.0"
|
46
|
-
cupertino_icons:
|
47
|
-
dependency: "direct main"
|
48
|
-
description:
|
49
|
-
name: cupertino_icons
|
50
|
-
url: "https://pub.dartlang.org"
|
51
|
-
source: hosted
|
52
|
-
version: "1.0.4"
|
53
|
-
fake_async:
|
54
|
-
dependency: transitive
|
55
|
-
description:
|
56
|
-
name: fake_async
|
57
|
-
url: "https://pub.dartlang.org"
|
58
|
-
source: hosted
|
59
|
-
version: "1.2.0"
|
60
|
-
flutter:
|
61
|
-
dependency: "direct main"
|
62
|
-
description: flutter
|
63
|
-
source: sdk
|
64
|
-
version: "0.0.0"
|
65
|
-
flutter_lints:
|
66
|
-
dependency: "direct dev"
|
67
|
-
description:
|
68
|
-
name: flutter_lints
|
69
|
-
url: "https://pub.dartlang.org"
|
70
|
-
source: hosted
|
71
|
-
version: "1.0.4"
|
72
|
-
flutter_test:
|
73
|
-
dependency: "direct dev"
|
74
|
-
description: flutter
|
75
|
-
source: sdk
|
76
|
-
version: "0.0.0"
|
77
|
-
lints:
|
78
|
-
dependency: transitive
|
79
|
-
description:
|
80
|
-
name: lints
|
81
|
-
url: "https://pub.dartlang.org"
|
82
|
-
source: hosted
|
83
|
-
version: "1.0.1"
|
84
|
-
matcher:
|
85
|
-
dependency: transitive
|
86
|
-
description:
|
87
|
-
name: matcher
|
88
|
-
url: "https://pub.dartlang.org"
|
89
|
-
source: hosted
|
90
|
-
version: "0.12.11"
|
91
|
-
material_color_utilities:
|
92
|
-
dependency: transitive
|
93
|
-
description:
|
94
|
-
name: material_color_utilities
|
95
|
-
url: "https://pub.dartlang.org"
|
96
|
-
source: hosted
|
97
|
-
version: "0.1.3"
|
98
|
-
meta:
|
99
|
-
dependency: transitive
|
100
|
-
description:
|
101
|
-
name: meta
|
102
|
-
url: "https://pub.dartlang.org"
|
103
|
-
source: hosted
|
104
|
-
version: "1.7.0"
|
105
|
-
path:
|
106
|
-
dependency: transitive
|
107
|
-
description:
|
108
|
-
name: path
|
109
|
-
url: "https://pub.dartlang.org"
|
110
|
-
source: hosted
|
111
|
-
version: "1.8.0"
|
112
|
-
sky_engine:
|
113
|
-
dependency: transitive
|
114
|
-
description: flutter
|
115
|
-
source: sdk
|
116
|
-
version: "0.0.99"
|
117
|
-
source_span:
|
118
|
-
dependency: transitive
|
119
|
-
description:
|
120
|
-
name: source_span
|
121
|
-
url: "https://pub.dartlang.org"
|
122
|
-
source: hosted
|
123
|
-
version: "1.8.1"
|
124
|
-
stack_trace:
|
125
|
-
dependency: transitive
|
126
|
-
description:
|
127
|
-
name: stack_trace
|
128
|
-
url: "https://pub.dartlang.org"
|
129
|
-
source: hosted
|
130
|
-
version: "1.10.0"
|
131
|
-
stream_channel:
|
132
|
-
dependency: transitive
|
133
|
-
description:
|
134
|
-
name: stream_channel
|
135
|
-
url: "https://pub.dartlang.org"
|
136
|
-
source: hosted
|
137
|
-
version: "2.1.0"
|
138
|
-
string_scanner:
|
139
|
-
dependency: transitive
|
140
|
-
description:
|
141
|
-
name: string_scanner
|
142
|
-
url: "https://pub.dartlang.org"
|
143
|
-
source: hosted
|
144
|
-
version: "1.1.0"
|
145
|
-
term_glyph:
|
146
|
-
dependency: transitive
|
147
|
-
description:
|
148
|
-
name: term_glyph
|
149
|
-
url: "https://pub.dartlang.org"
|
150
|
-
source: hosted
|
151
|
-
version: "1.2.0"
|
152
|
-
test_api:
|
153
|
-
dependency: transitive
|
154
|
-
description:
|
155
|
-
name: test_api
|
156
|
-
url: "https://pub.dartlang.org"
|
157
|
-
source: hosted
|
158
|
-
version: "0.4.8"
|
159
|
-
typed_data:
|
160
|
-
dependency: transitive
|
161
|
-
description:
|
162
|
-
name: typed_data
|
163
|
-
url: "https://pub.dartlang.org"
|
164
|
-
source: hosted
|
165
|
-
version: "1.3.0"
|
166
|
-
vector_math:
|
167
|
-
dependency: transitive
|
168
|
-
description:
|
169
|
-
name: vector_math
|
170
|
-
url: "https://pub.dartlang.org"
|
171
|
-
source: hosted
|
172
|
-
version: "2.1.1"
|
173
|
-
sdks:
|
174
|
-
dart: ">=2.16.1 <3.0.0"
|
@@ -1,87 +0,0 @@
|
|
1
|
-
name: flutter_module
|
2
|
-
description: A new flutter module project.
|
3
|
-
|
4
|
-
# The following defines the version and build number for your application.
|
5
|
-
# A version number is three numbers separated by dots, like 1.2.43
|
6
|
-
# followed by an optional build number separated by a +.
|
7
|
-
# Both the version and the builder number may be overridden in flutter
|
8
|
-
# build by specifying --build-name and --build-number, respectively.
|
9
|
-
# In Android, build-name is used as versionName while build-number used as versionCode.
|
10
|
-
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
|
11
|
-
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
|
12
|
-
# Read more about iOS versioning at
|
13
|
-
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
|
14
|
-
#
|
15
|
-
# This version is used _only_ for the Runner app, which is used if you just do
|
16
|
-
# a `flutter run` or a `flutter make-host-app-editable`. It has no impact
|
17
|
-
# on any other native host app that you embed your Flutter project into.
|
18
|
-
version: 1.0.0+1
|
19
|
-
|
20
|
-
environment:
|
21
|
-
sdk: ">=2.16.1 <3.0.0"
|
22
|
-
|
23
|
-
dependencies:
|
24
|
-
flutter:
|
25
|
-
sdk: flutter
|
26
|
-
|
27
|
-
# The following adds the Cupertino Icons font to your application.
|
28
|
-
# Use with the CupertinoIcons class for iOS style icons.
|
29
|
-
cupertino_icons: ^1.0.2
|
30
|
-
|
31
|
-
dev_dependencies:
|
32
|
-
flutter_test:
|
33
|
-
sdk: flutter
|
34
|
-
flutter_lints: ^1.0.0
|
35
|
-
|
36
|
-
# For information on the generic Dart part of this file, see the
|
37
|
-
# following page: https://dart.dev/tools/pub/pubspec
|
38
|
-
|
39
|
-
flutter:
|
40
|
-
# The following line ensures that the Material Icons font is
|
41
|
-
# included with your application, so that you can use the icons in
|
42
|
-
# the material Icons class.
|
43
|
-
uses-material-design: true
|
44
|
-
|
45
|
-
# To add Flutter specific assets to your application, add an assets section,
|
46
|
-
# like this:
|
47
|
-
# assets:
|
48
|
-
# - images/a_dot_burr.jpeg
|
49
|
-
# - images/a_dot_ham.jpeg
|
50
|
-
|
51
|
-
# An image asset can refer to one or more resolution-specific "variants", see
|
52
|
-
# https://flutter.dev/assets-and-images/#resolution-aware.
|
53
|
-
|
54
|
-
# For details regarding adding assets from package dependencies, see
|
55
|
-
# https://flutter.dev/assets-and-images/#from-packages
|
56
|
-
|
57
|
-
# To add Flutter specific custom fonts to your application, add a fonts
|
58
|
-
# section here, in this "flutter" section. Each entry in this list should
|
59
|
-
# have a "family" key with the font family name, and a "fonts" key with a
|
60
|
-
# list giving the asset and other descriptors for the font. For
|
61
|
-
# example:
|
62
|
-
# fonts:
|
63
|
-
# - family: Schyler
|
64
|
-
# fonts:
|
65
|
-
# - asset: fonts/Schyler-Regular.ttf
|
66
|
-
# - asset: fonts/Schyler-Italic.ttf
|
67
|
-
# style: italic
|
68
|
-
# - family: Trajan Pro
|
69
|
-
# fonts:
|
70
|
-
# - asset: fonts/TrajanPro.ttf
|
71
|
-
# - asset: fonts/TrajanPro_Bold.ttf
|
72
|
-
# weight: 700
|
73
|
-
#
|
74
|
-
# For details regarding fonts from package dependencies,
|
75
|
-
# see https://flutter.dev/custom-fonts/#from-packages
|
76
|
-
|
77
|
-
|
78
|
-
# This section identifies your Flutter project as a module meant for
|
79
|
-
# embedding in a native host app. These identifiers should _not_ ordinarily
|
80
|
-
# be changed after generation - they are used to ensure that the tooling can
|
81
|
-
# maintain consistency when adding or modifying assets and plugins.
|
82
|
-
# They also do not have any bearing on your native host application's
|
83
|
-
# identifiers, which may be completely independent or the same as these.
|
84
|
-
module:
|
85
|
-
androidX: true
|
86
|
-
androidPackage: com.example.flutter_module
|
87
|
-
iosBundleIdentifier: com.example.flutterModule
|
@@ -1,30 +0,0 @@
|
|
1
|
-
// This is a basic Flutter widget test.
|
2
|
-
//
|
3
|
-
// To perform an interaction with a widget in your test, use the WidgetTester
|
4
|
-
// utility that Flutter provides. For example, you can send tap and scroll
|
5
|
-
// gestures. You can also use WidgetTester to find child widgets in the widget
|
6
|
-
// tree, read text, and verify that the values of widget properties are correct.
|
7
|
-
|
8
|
-
import 'package:flutter/material.dart';
|
9
|
-
import 'package:flutter_test/flutter_test.dart';
|
10
|
-
|
11
|
-
import 'package:flutter_module/main.dart';
|
12
|
-
|
13
|
-
void main() {
|
14
|
-
testWidgets('Counter increments smoke test', (WidgetTester tester) async {
|
15
|
-
// Build our app and trigger a frame.
|
16
|
-
await tester.pumpWidget(const MyApp());
|
17
|
-
|
18
|
-
// Verify that our counter starts at 0.
|
19
|
-
expect(find.text('0'), findsOneWidget);
|
20
|
-
expect(find.text('1'), findsNothing);
|
21
|
-
|
22
|
-
// Tap the '+' icon and trigger a frame.
|
23
|
-
await tester.tap(find.byIcon(Icons.add));
|
24
|
-
await tester.pump();
|
25
|
-
|
26
|
-
// Verify that our counter has incremented.
|
27
|
-
expect(find.text('0'), findsNothing);
|
28
|
-
expect(find.text('1'), findsOneWidget);
|
29
|
-
});
|
30
|
-
}
|
data/example/ios_app/Gemfile
DELETED