Skip to content

Commit 533d88b

Browse files
committed
init commit with meta data
1 parent bb75cd6 commit 533d88b

File tree

7 files changed

+309
-0
lines changed

7 files changed

+309
-0
lines changed

.gitignore

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
6+
.DS_Store
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
12+
# IntelliJ related
13+
*.iml
14+
*.ipr
15+
*.iws
16+
.idea/
17+
18+
# The .vscode folder contains launch configuration and tasks you configure in
19+
# VS Code which you may wish to be included in version control, so this line
20+
# is commented out by default.
21+
#.vscode/
22+
23+
# Flutter/Dart/Pub related
24+
**/doc/api/
25+
.dart_tool/
26+
.flutter-plugins
27+
.flutter-plugins-dependencies
28+
.packages
29+
.pub-cache/
30+
.pub/
31+
build/
32+
33+
# Android related
34+
**/android/**/gradle-wrapper.jar
35+
**/android/.gradle
36+
**/android/captures/
37+
**/android/gradlew
38+
**/android/gradlew.bat
39+
**/android/local.properties
40+
**/android/**/GeneratedPluginRegistrant.java
41+
42+
# iOS/XCode related
43+
**/ios/**/*.mode1v3
44+
**/ios/**/*.mode2v3
45+
**/ios/**/*.moved-aside
46+
**/ios/**/*.pbxuser
47+
**/ios/**/*.perspectivev3
48+
**/ios/**/*sync/
49+
**/ios/**/.sconsign.dblite
50+
**/ios/**/.tags*
51+
**/ios/**/.vagrant/
52+
**/ios/**/DerivedData/
53+
**/ios/**/Icon?
54+
**/ios/**/Pods/
55+
**/ios/**/.symlinks/
56+
**/ios/**/profile
57+
**/ios/**/xcuserdata
58+
**/ios/.generated/
59+
**/ios/Flutter/App.framework
60+
**/ios/Flutter/Flutter.framework
61+
**/ios/Flutter/Flutter.podspec
62+
**/ios/Flutter/Generated.xcconfig
63+
**/ios/Flutter/app.flx
64+
**/ios/Flutter/app.zip
65+
**/ios/Flutter/flutter_assets/
66+
**/ios/Flutter/flutter_export_environment.sh
67+
**/ios/ServiceDefinitions.json
68+
**/ios/Runner/GeneratedPluginRegistrant.*
69+
70+
# Exceptions to above rules.
71+
!**/ios/**/default.mode1v3
72+
!**/ios/**/default.mode2v3
73+
!**/ios/**/default.pbxuser
74+
!**/ios/**/default.perspectivev3

.metadata

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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: 84f3d28555368a70270e9ac8390a9441df95e752
8+
channel: stable
9+
10+
project_type: package

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## [0.0.1] - TODO: Add release date.
2+
3+
* TODO: Describe initial release.

lib/flutter_quill.dart

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
library flutter_quill;
2+
3+
/// A Calculator.
4+
class Calculator {
5+
/// Returns [value] plus 1.
6+
int addOne(int value) => value + 1;
7+
}

pubspec.lock

+147
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,147 @@
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.5.0-nullsafety.1"
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-nullsafety.1"
18+
characters:
19+
dependency: transitive
20+
description:
21+
name: characters
22+
url: "https://pub.dartlang.org"
23+
source: hosted
24+
version: "1.1.0-nullsafety.3"
25+
charcode:
26+
dependency: transitive
27+
description:
28+
name: charcode
29+
url: "https://pub.dartlang.org"
30+
source: hosted
31+
version: "1.2.0-nullsafety.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-nullsafety.1"
39+
collection:
40+
dependency: transitive
41+
description:
42+
name: collection
43+
url: "https://pub.dartlang.org"
44+
source: hosted
45+
version: "1.15.0-nullsafety.3"
46+
fake_async:
47+
dependency: transitive
48+
description:
49+
name: fake_async
50+
url: "https://pub.dartlang.org"
51+
source: hosted
52+
version: "1.2.0-nullsafety.1"
53+
flutter:
54+
dependency: "direct main"
55+
description: flutter
56+
source: sdk
57+
version: "0.0.0"
58+
flutter_test:
59+
dependency: "direct dev"
60+
description: flutter
61+
source: sdk
62+
version: "0.0.0"
63+
matcher:
64+
dependency: transitive
65+
description:
66+
name: matcher
67+
url: "https://pub.dartlang.org"
68+
source: hosted
69+
version: "0.12.10-nullsafety.1"
70+
meta:
71+
dependency: transitive
72+
description:
73+
name: meta
74+
url: "https://pub.dartlang.org"
75+
source: hosted
76+
version: "1.3.0-nullsafety.3"
77+
path:
78+
dependency: transitive
79+
description:
80+
name: path
81+
url: "https://pub.dartlang.org"
82+
source: hosted
83+
version: "1.8.0-nullsafety.1"
84+
sky_engine:
85+
dependency: transitive
86+
description: flutter
87+
source: sdk
88+
version: "0.0.99"
89+
source_span:
90+
dependency: transitive
91+
description:
92+
name: source_span
93+
url: "https://pub.dartlang.org"
94+
source: hosted
95+
version: "1.8.0-nullsafety.2"
96+
stack_trace:
97+
dependency: transitive
98+
description:
99+
name: stack_trace
100+
url: "https://pub.dartlang.org"
101+
source: hosted
102+
version: "1.10.0-nullsafety.1"
103+
stream_channel:
104+
dependency: transitive
105+
description:
106+
name: stream_channel
107+
url: "https://pub.dartlang.org"
108+
source: hosted
109+
version: "2.1.0-nullsafety.1"
110+
string_scanner:
111+
dependency: transitive
112+
description:
113+
name: string_scanner
114+
url: "https://pub.dartlang.org"
115+
source: hosted
116+
version: "1.1.0-nullsafety.1"
117+
term_glyph:
118+
dependency: transitive
119+
description:
120+
name: term_glyph
121+
url: "https://pub.dartlang.org"
122+
source: hosted
123+
version: "1.2.0-nullsafety.1"
124+
test_api:
125+
dependency: transitive
126+
description:
127+
name: test_api
128+
url: "https://pub.dartlang.org"
129+
source: hosted
130+
version: "0.2.19-nullsafety.2"
131+
typed_data:
132+
dependency: transitive
133+
description:
134+
name: typed_data
135+
url: "https://pub.dartlang.org"
136+
source: hosted
137+
version: "1.3.0-nullsafety.3"
138+
vector_math:
139+
dependency: transitive
140+
description:
141+
name: vector_math
142+
url: "https://pub.dartlang.org"
143+
source: hosted
144+
version: "2.1.0-nullsafety.3"
145+
sdks:
146+
dart: ">=2.10.0-110 <2.11.0"
147+
flutter: ">=1.17.0 <2.0.0"

pubspec.yaml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
name: flutter_quill
2+
description: One client and affiliated collaborator of Flutter Quill is Bullet Journal App.
3+
version: 0.0.1
4+
#author: bulletjournal
5+
homepage: https://www.bulletjournal.us
6+
repository: https://github.com/singerdmx/flutter-quill.git
7+
8+
environment:
9+
sdk: ">=2.7.0 <3.0.0"
10+
flutter: ">=1.17.0 <2.0.0"
11+
12+
dependencies:
13+
flutter:
14+
sdk: flutter
15+
16+
dev_dependencies:
17+
flutter_test:
18+
sdk: flutter
19+
20+
# For information on the generic Dart part of this file, see the
21+
# following page: https://dart.dev/tools/pub/pubspec
22+
23+
# The following section is specific to Flutter.
24+
flutter:
25+
26+
# To add assets to your package, add an assets section, like this:
27+
# assets:
28+
# - images/a_dot_burr.jpeg
29+
# - images/a_dot_ham.jpeg
30+
#
31+
# For details regarding assets in packages, see
32+
# https://flutter.dev/assets-and-images/#from-packages
33+
#
34+
# An image asset can refer to one or more resolution-specific "variants", see
35+
# https://flutter.dev/assets-and-images/#resolution-aware.
36+
37+
# To add custom fonts to your package, add a fonts section here,
38+
# in this "flutter" section. Each entry in this list should have a
39+
# "family" key with the font family name, and a "fonts" key with a
40+
# list giving the asset and other descriptors for the font. For
41+
# example:
42+
# fonts:
43+
# - family: Schyler
44+
# fonts:
45+
# - asset: fonts/Schyler-Regular.ttf
46+
# - asset: fonts/Schyler-Italic.ttf
47+
# style: italic
48+
# - family: Trajan Pro
49+
# fonts:
50+
# - asset: fonts/TrajanPro.ttf
51+
# - asset: fonts/TrajanPro_Bold.ttf
52+
# weight: 700
53+
#
54+
# For details regarding fonts in packages, see
55+
# https://flutter.dev/custom-fonts/#from-packages

test/flutter_quill_test.dart

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
import 'package:flutter_test/flutter_test.dart';
2+
3+
import 'package:flutter_quill/flutter_quill.dart';
4+
5+
void main() {
6+
test('adds one to input values', () {
7+
final calculator = Calculator();
8+
expect(calculator.addOne(2), 3);
9+
expect(calculator.addOne(-7), -6);
10+
expect(calculator.addOne(0), 1);
11+
expect(() => calculator.addOne(null), throwsNoSuchMethodError);
12+
});
13+
}

0 commit comments

Comments
 (0)