This commit is contained in:
LZX committed 2026-09-23 15:17:14 +08:00
1 parent a8b7bdf606
commit 3faf9a7ae5
82 files changed
+3041 -883

No files matched your search

+7 -2
View File
@@ -6,7 +6,7 @@ plugins {
}
android {
namespace = "com.example.code_editor"
namespace = "com.lzxnone.code_editor"
compileSdk = 37
ndkVersion = "28.2.13676358"
@@ -21,7 +21,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.example.code_editor"
applicationId = "com.lzxnone.code_editor"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = flutter.minSdkVersion
@@ -43,6 +43,11 @@ android {
useLegacyPackaging = true
}
}
lint {
abortOnError = false
checkReleaseBuilds = false
}
}
flutter {
+2 -2
View File
@@ -10,9 +10,9 @@
<uses-permission android:name="android.permission.INTERNET" />
<application
android:label="code_editor"
android:label="LN 代码编辑器"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher"
android:icon="@mipmap/launcher_icon"
android:requestLegacyExternalStorage="true"
android:extractNativeLibs="true">
<activity
@@ -1,4 +1,4 @@
package com.example.code_editor
package com.lzxnone.code_editor
import android.database.Cursor
import android.database.MatrixCursor
@@ -1,11 +1,11 @@
package com.example.code_editor
package com.lzxnone.code_editor
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugin.common.MethodChannel
class MainActivity : FlutterActivity() {
private val CHANNEL = "com.example.code_editor/native"
private val CHANNEL = "com.lzxnone.code_editor/native"
override fun configureFlutterEngine(flutterEngine: FlutterEngine) {
super.configureFlutterEngine(flutterEngine)
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_background"/>
<foreground>
<inset
android:drawable="@drawable/ic_launcher_foreground"
android:inset="16%" />
</foreground>
</adaptive-icon>
Binary file not shown.

After

Width:  |  Height:  |  Size: 944 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#121214</color>
</resources>