Skip to content

Commit 25354d8

Browse files
committed
Create new dart app from template
0 parents  commit 25354d8

9 files changed

+682
-0
lines changed

.dart_tool/package_config.json

+290
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,290 @@
1+
{
2+
"configVersion": 2,
3+
"packages": [
4+
{
5+
"name": "_fe_analyzer_shared",
6+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/_fe_analyzer_shared-51.0.0",
7+
"packageUri": "lib/",
8+
"languageVersion": "2.17"
9+
},
10+
{
11+
"name": "analyzer",
12+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/analyzer-5.3.1",
13+
"packageUri": "lib/",
14+
"languageVersion": "2.17"
15+
},
16+
{
17+
"name": "args",
18+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/args-2.3.1",
19+
"packageUri": "lib/",
20+
"languageVersion": "2.12"
21+
},
22+
{
23+
"name": "async",
24+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/async-2.10.0",
25+
"packageUri": "lib/",
26+
"languageVersion": "2.18"
27+
},
28+
{
29+
"name": "boolean_selector",
30+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/boolean_selector-2.1.1",
31+
"packageUri": "lib/",
32+
"languageVersion": "2.17"
33+
},
34+
{
35+
"name": "collection",
36+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/collection-1.17.0",
37+
"packageUri": "lib/",
38+
"languageVersion": "2.12"
39+
},
40+
{
41+
"name": "convert",
42+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/convert-3.1.1",
43+
"packageUri": "lib/",
44+
"languageVersion": "2.18"
45+
},
46+
{
47+
"name": "coverage",
48+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/coverage-1.6.1",
49+
"packageUri": "lib/",
50+
"languageVersion": "2.15"
51+
},
52+
{
53+
"name": "crypto",
54+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/crypto-3.0.2",
55+
"packageUri": "lib/",
56+
"languageVersion": "2.14"
57+
},
58+
{
59+
"name": "file",
60+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/file-6.1.4",
61+
"packageUri": "lib/",
62+
"languageVersion": "2.12"
63+
},
64+
{
65+
"name": "frontend_server_client",
66+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/frontend_server_client-3.2.0",
67+
"packageUri": "lib/",
68+
"languageVersion": "2.12"
69+
},
70+
{
71+
"name": "glob",
72+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/glob-2.1.1",
73+
"packageUri": "lib/",
74+
"languageVersion": "2.15"
75+
},
76+
{
77+
"name": "http_multi_server",
78+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/http_multi_server-3.2.1",
79+
"packageUri": "lib/",
80+
"languageVersion": "2.12"
81+
},
82+
{
83+
"name": "http_parser",
84+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/http_parser-4.0.2",
85+
"packageUri": "lib/",
86+
"languageVersion": "2.12"
87+
},
88+
{
89+
"name": "io",
90+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/io-1.0.3",
91+
"packageUri": "lib/",
92+
"languageVersion": "2.12"
93+
},
94+
{
95+
"name": "js",
96+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/js-0.6.5",
97+
"packageUri": "lib/",
98+
"languageVersion": "2.16"
99+
},
100+
{
101+
"name": "lints",
102+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/lints-2.0.1",
103+
"packageUri": "lib/",
104+
"languageVersion": "2.17"
105+
},
106+
{
107+
"name": "logging",
108+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/logging-1.1.0",
109+
"packageUri": "lib/",
110+
"languageVersion": "2.12"
111+
},
112+
{
113+
"name": "matcher",
114+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/matcher-0.12.14",
115+
"packageUri": "lib/",
116+
"languageVersion": "2.18"
117+
},
118+
{
119+
"name": "meta",
120+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/meta-1.8.0",
121+
"packageUri": "lib/",
122+
"languageVersion": "2.12"
123+
},
124+
{
125+
"name": "mime",
126+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/mime-1.0.3",
127+
"packageUri": "lib/",
128+
"languageVersion": "2.12"
129+
},
130+
{
131+
"name": "node_preamble",
132+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/node_preamble-2.0.1",
133+
"packageUri": "lib/",
134+
"languageVersion": "2.12"
135+
},
136+
{
137+
"name": "package_config",
138+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/package_config-2.1.0",
139+
"packageUri": "lib/",
140+
"languageVersion": "2.12"
141+
},
142+
{
143+
"name": "path",
144+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/path-1.8.3",
145+
"packageUri": "lib/",
146+
"languageVersion": "2.12"
147+
},
148+
{
149+
"name": "pool",
150+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/pool-1.5.1",
151+
"packageUri": "lib/",
152+
"languageVersion": "2.12"
153+
},
154+
{
155+
"name": "pub_semver",
156+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/pub_semver-2.1.3",
157+
"packageUri": "lib/",
158+
"languageVersion": "2.17"
159+
},
160+
{
161+
"name": "shelf",
162+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/shelf-1.4.0",
163+
"packageUri": "lib/",
164+
"languageVersion": "2.17"
165+
},
166+
{
167+
"name": "shelf_packages_handler",
168+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/shelf_packages_handler-3.0.1",
169+
"packageUri": "lib/",
170+
"languageVersion": "2.14"
171+
},
172+
{
173+
"name": "shelf_static",
174+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/shelf_static-1.1.1",
175+
"packageUri": "lib/",
176+
"languageVersion": "2.14"
177+
},
178+
{
179+
"name": "shelf_web_socket",
180+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/shelf_web_socket-1.0.3",
181+
"packageUri": "lib/",
182+
"languageVersion": "2.17"
183+
},
184+
{
185+
"name": "source_map_stack_trace",
186+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/source_map_stack_trace-2.1.1",
187+
"packageUri": "lib/",
188+
"languageVersion": "2.12"
189+
},
190+
{
191+
"name": "source_maps",
192+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/source_maps-0.10.11",
193+
"packageUri": "lib/",
194+
"languageVersion": "2.18"
195+
},
196+
{
197+
"name": "source_span",
198+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/source_span-1.9.1",
199+
"packageUri": "lib/",
200+
"languageVersion": "2.14"
201+
},
202+
{
203+
"name": "stack_trace",
204+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/stack_trace-1.11.0",
205+
"packageUri": "lib/",
206+
"languageVersion": "2.18"
207+
},
208+
{
209+
"name": "stream_channel",
210+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/stream_channel-2.1.1",
211+
"packageUri": "lib/",
212+
"languageVersion": "2.14"
213+
},
214+
{
215+
"name": "string_scanner",
216+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/string_scanner-1.2.0",
217+
"packageUri": "lib/",
218+
"languageVersion": "2.18"
219+
},
220+
{
221+
"name": "term_glyph",
222+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/term_glyph-1.2.1",
223+
"packageUri": "lib/",
224+
"languageVersion": "2.12"
225+
},
226+
{
227+
"name": "test",
228+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/test-1.22.1",
229+
"packageUri": "lib/",
230+
"languageVersion": "2.18"
231+
},
232+
{
233+
"name": "test_api",
234+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/test_api-0.4.17",
235+
"packageUri": "lib/",
236+
"languageVersion": "2.18"
237+
},
238+
{
239+
"name": "test_core",
240+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/test_core-0.4.21",
241+
"packageUri": "lib/",
242+
"languageVersion": "2.18"
243+
},
244+
{
245+
"name": "typed_data",
246+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/typed_data-1.3.1",
247+
"packageUri": "lib/",
248+
"languageVersion": "2.12"
249+
},
250+
{
251+
"name": "vm_service",
252+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/vm_service-9.4.0",
253+
"packageUri": "lib/",
254+
"languageVersion": "2.15"
255+
},
256+
{
257+
"name": "watcher",
258+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/watcher-1.0.2",
259+
"packageUri": "lib/",
260+
"languageVersion": "2.14"
261+
},
262+
{
263+
"name": "web_socket_channel",
264+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/web_socket_channel-2.2.0",
265+
"packageUri": "lib/",
266+
"languageVersion": "2.12"
267+
},
268+
{
269+
"name": "webkit_inspection_protocol",
270+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/webkit_inspection_protocol-1.2.0",
271+
"packageUri": "lib/",
272+
"languageVersion": "2.12"
273+
},
274+
{
275+
"name": "yaml",
276+
"rootUri": "file:///Users/anton/.pub-cache/hosted/pub.dartlang.org/yaml-3.1.1",
277+
"packageUri": "lib/",
278+
"languageVersion": "2.12"
279+
},
280+
{
281+
"name": "flutterflow_cli",
282+
"rootUri": "../",
283+
"packageUri": "lib/",
284+
"languageVersion": "2.18"
285+
}
286+
],
287+
"generated": "2023-01-04T18:15:26.905211Z",
288+
"generator": "pub",
289+
"generatorVersion": "2.18.4"
290+
}

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## 1.0.0
2+
3+
- Initial version.

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
A sample command-line application with an entrypoint in `bin/`, library code
2+
in `lib/`, and example unit test in `test/`.

analysis_options.yaml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# This file configures the static analysis results for your project (errors,
2+
# warnings, and lints).
3+
#
4+
# This enables the 'recommended' set of lints from `package:lints`.
5+
# This set helps identify many issues that may lead to problems when running
6+
# or consuming Dart code, and enforces writing Dart using a single, idiomatic
7+
# style and format.
8+
#
9+
# If you want a smaller set of lints you can change this to specify
10+
# 'package:lints/core.yaml'. These are just the most critical lints
11+
# (the recommended set includes the core lints).
12+
# The core lints are also what is used by pub.dev for scoring packages.
13+
14+
include: package:lints/recommended.yaml
15+
16+
# Uncomment the following section to specify additional rules.
17+
18+
# linter:
19+
# rules:
20+
# - camel_case_types
21+
22+
# analyzer:
23+
# exclude:
24+
# - path/to/excluded/files/**
25+
26+
# For more information about the core and recommended set of lints, see
27+
# https://dart.dev/go/core-lints
28+
29+
# For additional information about configuring this file, see
30+
# https://dart.dev/guides/language/analysis-options

bin/flutterflow_cli.dart

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import 'package:flutterflow_cli/flutterflow_cli.dart' as flutterflow_cli;
2+
3+
void main(List<String> arguments) {
4+
print('Hello world: ${flutterflow_cli.calculate()}!');
5+
}

lib/flutterflow_cli.dart

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
int calculate() {
2+
return 6 * 7;
3+
}

0 commit comments

Comments
 (0)