Skip to content

Commit 4ac393d

Browse files
committed
feat: release v0.0.6
1 parent f8bd4f8 commit 4ac393d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+380
-344
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [0.0.6] - 2025-08-25
2+
- Update dependencies
3+
- feat: handle focus / unfocus events correctly
4+
- feat: improve stability of scroll position
5+
16
## [0.0.5] - 2022-05-18
27
- New feature: edit / add links
38
- New feature: color document foreground and background

analysis_options.yaml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
analyzer:
22
errors:
33
todo: ignore
4-
plugins:
5-
- dart_code_metrics # https://github.com/dart-code-checker/dart-code-metrics
4+
65
linter:
76
rules:
87
- always_declare_return_types
@@ -30,8 +29,6 @@ linter:
3029
- avoid_renaming_method_parameters
3130
- avoid_relative_lib_imports
3231
- avoid_return_types_on_setters
33-
- avoid_returning_null
34-
- avoid_returning_null_for_future
3532
- avoid_returning_null_for_void
3633
- avoid_returning_this
3734
- avoid_setters_without_getters
@@ -76,7 +73,6 @@ linter:
7673
- one_member_abstracts
7774
- only_throw_errors
7875
- overridden_fields
79-
- package_api_docs
8076
- package_names
8177
- package_prefixed_library_names
8278
- parameter_assignments
@@ -146,15 +142,3 @@ linter:
146142
- use_to_and_as_if_applicable
147143
- valid_regexps
148144
- void_checks
149-
dart_code_metrics:
150-
metrics:
151-
# disable metrics
152-
cyclomatic-complexity: 50
153-
maximum-nesting-level: 50
154-
number-of-parameters: 50
155-
source-lines-of-code: 500
156-
number-of-methods: 100
157-
metrics-exclude:
158-
- test/**
159-
rules:
160-
- avoid-non-null-assertion # comply to engineering standards and avoid !

example/.metadata

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
# This file tracks properties of this Flutter project.
22
# Used by Flutter tool to assess capabilities and perform upgrades etc.
33
#
4-
# This file should be version controlled.
4+
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: 135454af32477f815a7525073027a3ff9eff1bfd
8-
channel: stable
7+
revision: "20f82749394e68bcfbbeee96bad384abaae09c13"
8+
channel: "stable"
99

1010
project_type: app
1111

1212
# Tracks metadata for the flutter migrate command
1313
migration:
1414
platforms:
1515
- platform: root
16-
create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
17-
base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
18-
- platform: android
19-
create_revision: 135454af32477f815a7525073027a3ff9eff1bfd
20-
base_revision: 135454af32477f815a7525073027a3ff9eff1bfd
16+
create_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
17+
base_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
18+
- platform: ios
19+
create_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
20+
base_revision: 20f82749394e68bcfbbeee96bad384abaae09c13
2121

2222
# User provided section
2323

example/analysis_options.yaml

Lines changed: 1 addition & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
analyzer:
22
errors:
33
todo: ignore
4-
plugins:
5-
- dart_code_metrics # https://github.com/dart-code-checker/dart-code-metrics
4+
65
linter:
76
rules:
87
- always_declare_return_types
98
- always_put_control_body_on_new_line
109
# - always_put_required_named_parameters_first # not useful for widgets in which the option key is the first parameter by convention
11-
- always_require_non_null_named_parameters
1210
#- always_specify_types # This would enforce to write types literally everywhere.
1311
- annotate_overrides
1412
#- avoid_annotating_with_dynamic # Explicit annotation of dynamic as type is preferable. Also exclusive with type_annotate_public_apis
@@ -30,8 +28,6 @@ linter:
3028
- avoid_renaming_method_parameters
3129
- avoid_relative_lib_imports
3230
- avoid_return_types_on_setters
33-
- avoid_returning_null
34-
- avoid_returning_null_for_future
3531
- avoid_returning_null_for_void
3632
- avoid_returning_this
3733
- avoid_setters_without_getters
@@ -62,13 +58,10 @@ linter:
6258
#- flutter_style_todos # Flutter todos are to verbose for our requirements.
6359
- hash_and_equals
6460
- implementation_imports
65-
- invariant_booleans
66-
- iterable_contains_unrelated_type
6761
# - join_return_with_assignment # leads to less readable code IMHO
6862
- library_names
6963
- library_prefixes
7064
- lines_longer_than_80_chars
71-
- list_remove_unrelated_type
7265
- literal_only_boolean_expressions
7366
- no_adjacent_strings_in_list
7467
- no_duplicate_case_values
@@ -78,7 +71,6 @@ linter:
7871
- one_member_abstracts
7972
- only_throw_errors
8073
- overridden_fields
81-
- package_api_docs
8274
- package_names
8375
- package_prefixed_library_names
8476
- parameter_assignments
@@ -149,15 +141,3 @@ linter:
149141
- use_to_and_as_if_applicable
150142
- valid_regexps
151143
- void_checks
152-
dart_code_metrics:
153-
metrics:
154-
# disable metrics
155-
cyclomatic-complexity: 50
156-
maximum-nesting-level: 50
157-
number-of-parameters: 50
158-
source-lines-of-code: 500
159-
number-of-methods: 100
160-
metrics-exclude:
161-
- test/**
162-
rules:
163-
- avoid-non-null-assertion # comply to engineering standards and avoid !

example/android/.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,10 @@ gradle-wrapper.jar
55
/gradlew.bat
66
/local.properties
77
GeneratedPluginRegistrant.java
8+
.cxx/
89

910
# Remember to never publicly share your keystore.
10-
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
11+
# See https://flutter.dev/to/reference-keystore
1112
key.properties
1213
**/*.keystore
1314
**/*.jks

example/android/app/build.gradle

Lines changed: 0 additions & 71 deletions
This file was deleted.
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
plugins {
2+
id("com.android.application")
3+
id("kotlin-android")
4+
// The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
5+
id("dev.flutter.flutter-gradle-plugin")
6+
}
7+
8+
android {
9+
namespace = "com.example.enough_html_example"
10+
compileSdk = flutter.compileSdkVersion
11+
ndkVersion = flutter.ndkVersion
12+
13+
compileOptions {
14+
sourceCompatibility = JavaVersion.VERSION_11
15+
targetCompatibility = JavaVersion.VERSION_11
16+
}
17+
18+
kotlinOptions {
19+
jvmTarget = JavaVersion.VERSION_11.toString()
20+
}
21+
22+
defaultConfig {
23+
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
24+
applicationId = "com.example.enough_html_example"
25+
// You can update the following values to match your application needs.
26+
// For more information, see: https://flutter.dev/to/review-gradle-config.
27+
minSdk = flutter.minSdkVersion
28+
targetSdk = flutter.targetSdkVersion
29+
versionCode = flutter.versionCode
30+
versionName = flutter.versionName
31+
}
32+
33+
buildTypes {
34+
release {
35+
// TODO: Add your own signing config for the release build.
36+
// Signing with the debug keys for now, so `flutter run --release` works.
37+
signingConfig = signingConfigs.getByName("debug")
38+
}
39+
}
40+
}
41+
42+
flutter {
43+
source = "../.."
44+
}

example/android/app/src/debug/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="de.enough.example">
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
32
<!-- The INTERNET permission is required for development. Specifically,
43
the Flutter tool needs it to communicate with the running application
54
to allow setting breakpoints, to provide hot reload, etc.

example/android/app/src/main/AndroidManifest.xml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="de.enough.example">
3-
<application
4-
android:label="example"
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2+
<application
3+
android:label="enough_html_example"
54
android:name="${applicationName}"
65
android:icon="@mipmap/ic_launcher">
76
<activity
87
android:name=".MainActivity"
98
android:exported="true"
109
android:launchMode="singleTop"
10+
android:taskAffinity=""
1111
android:theme="@style/LaunchTheme"
1212
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
1313
android:hardwareAccelerated="true"
@@ -31,4 +31,15 @@
3131
android:name="flutterEmbedding"
3232
android:value="2" />
3333
</application>
34+
<!-- Required to query activities that can process text, see:
35+
https://developer.android.com/training/package-visibility and
36+
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
37+
38+
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
39+
<queries>
40+
<intent>
41+
<action android:name="android.intent.action.PROCESS_TEXT"/>
42+
<data android:mimeType="text/plain"/>
43+
</intent>
44+
</queries>
3445
</manifest>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
package com.example.enough_html_example
2+
3+
import io.flutter.embedding.android.FlutterActivity
4+
5+
class MainActivity : FlutterActivity()

0 commit comments

Comments
 (0)