Skip to content

Commit

Permalink
udpate
Browse files Browse the repository at this point in the history
  • Loading branch information
committed Nov 11, 2022
1 parent e9e4efd commit 86cfecd
Show file tree
Hide file tree
Showing 10 changed files with 122 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ Terminal Flutter app dan library support all platform

## Features
1. [x] Multi shell
2. [x] Cross platform Support
3. [ ] D

2. [x] Cross platform Support (Android, iOS, Linux, macOS, Windows)
3. [ ] Custom environment like termux (jika anda tahu chroot / sejenis itu tolong kasih saya petunjuk ya)
4. [x] Plugable Library now you can add terminal in your app
5. [ ] as

## Develop
1. Clone repo dahulu
Expand All @@ -23,8 +24,7 @@ cd terminal
flutter pub get
```


## Screenshot
![](/screenshots/desktop.png)
![](/screenshots/desktop_2.png)

![](/screenshots/mobile.png)
2 changes: 2 additions & 0 deletions lib/page/page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ import 'package:terminal_flutter/core/core.dart';
import 'package:terminal_flutter/widget/widget.dart';
import 'package:xterm/xterm.dart';
import "package:iconsax/iconsax.dart";

import 'package:simulate/simulate.dart';
part "setting.dart";
part "terminal.dart";
4 changes: 4 additions & 0 deletions linux/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@
#include "generated_plugin_registrant.h"

#include <bitsdojo_window_linux/bitsdojo_window_plugin.h>
#include <flutter_acrylic/flutter_acrylic_plugin.h>

void fl_register_plugins(FlPluginRegistry* registry) {
g_autoptr(FlPluginRegistrar) bitsdojo_window_linux_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "BitsdojoWindowPlugin");
bitsdojo_window_plugin_register_with_registrar(bitsdojo_window_linux_registrar);
g_autoptr(FlPluginRegistrar) flutter_acrylic_registrar =
fl_plugin_registry_get_registrar_for_plugin(registry, "FlutterAcrylicPlugin");
flutter_acrylic_plugin_register_with_registrar(flutter_acrylic_registrar);
}
1 change: 1 addition & 0 deletions linux/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

list(APPEND FLUTTER_PLUGIN_LIST
bitsdojo_window_linux
flutter_acrylic
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
Expand Down
2 changes: 2 additions & 0 deletions macos/Flutter/GeneratedPluginRegistrant.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ import FlutterMacOS
import Foundation

import bitsdojo_window_macos
import flutter_acrylic
import path_provider_macos

func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
BitsdojoWindowPlugin.register(with: registry.registrar(forPlugin: "BitsdojoWindowPlugin"))
FlutterAcrylicPlugin.register(with: registry.registrar(forPlugin: "FlutterAcrylicPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
}
103 changes: 103 additions & 0 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,27 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.1"
crypto:
dependency: transitive
description:
name: crypto
url: "https://pub.dartlang.org"
source: hosted
version: "3.0.2"
cupertino_icons:
dependency: "direct main"
description:
name: cupertino_icons
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.5"
device_frame:
dependency: transitive
description:
name: device_frame
url: "https://pub.dartlang.org"
source: hosted
version: "1.1.0"
equatable:
dependency: transitive
description:
Expand Down Expand Up @@ -113,11 +127,25 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "6.1.4"
file_picker:
dependency: transitive
description:
name: file_picker
url: "https://pub.dartlang.org"
source: hosted
version: "5.2.2"
flutter:
dependency: "direct main"
description: flutter
source: sdk
version: "0.0.0"
flutter_acrylic:
dependency: transitive
description:
name: flutter_acrylic
url: "https://pub.dartlang.org"
source: hosted
version: "1.0.0+2"
flutter_colorpicker:
dependency: "direct main"
description:
Expand All @@ -132,25 +160,86 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.1"
flutter_plugin_android_lifecycle:
dependency: transitive
description:
name: flutter_plugin_android_lifecycle
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.7"
flutter_pty:
dependency: "direct main"
description:
name: flutter_pty
url: "https://pub.dartlang.org"
source: hosted
version: "0.3.1"
flutter_remix:
dependency: transitive
description:
name: flutter_remix
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.3"
flutter_test:
dependency: "direct dev"
description: flutter
source: sdk
version: "0.0.0"
flutter_web_plugins:
dependency: transitive
description: flutter
source: sdk
version: "0.0.0"
freezed_annotation:
dependency: transitive
description:
name: freezed_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "2.2.0"
hexaminate:
dependency: transitive
description:
name: hexaminate
url: "https://pub.dartlang.org"
source: hosted
version: "0.1.4"
http:
dependency: transitive
description:
name: http
url: "https://pub.dartlang.org"
source: hosted
version: "0.13.5"
http_parser:
dependency: transitive
description:
name: http_parser
url: "https://pub.dartlang.org"
source: hosted
version: "4.0.2"
iconsax:
dependency: "direct main"
description:
name: iconsax
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.8"
js:
dependency: transitive
description:
name: js
url: "https://pub.dartlang.org"
source: hosted
version: "0.6.4"
json_annotation:
dependency: transitive
description:
name: json_annotation
url: "https://pub.dartlang.org"
source: hosted
version: "4.7.0"
lints:
dependency: transitive
description:
Expand Down Expand Up @@ -270,6 +359,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "3.1.0"
simulate:
dependency: "direct dev"
description:
name: simulate
url: "https://pub.dartlang.org"
source: hosted
version: "0.0.10"
sky_engine:
dependency: transitive
description: flutter
Expand Down Expand Up @@ -324,6 +420,13 @@ packages:
url: "https://pub.dartlang.org"
source: hosted
version: "1.3.1"
universal_io:
dependency: transitive
description:
name: universal_io
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.4"
vector_math:
dependency: transitive
description:
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
simulate: ^0.0.10

flutter:
uses-material-design: true
Expand Down
Binary file added screenshots/mobile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions windows/flutter/generated_plugin_registrant.cc
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
#include "generated_plugin_registrant.h"

#include <bitsdojo_window_windows/bitsdojo_window_plugin.h>
#include <flutter_acrylic/flutter_acrylic_plugin.h>

void RegisterPlugins(flutter::PluginRegistry* registry) {
BitsdojoWindowPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("BitsdojoWindowPlugin"));
FlutterAcrylicPluginRegisterWithRegistrar(
registry->GetRegistrarForPlugin("FlutterAcrylicPlugin"));
}
1 change: 1 addition & 0 deletions windows/flutter/generated_plugins.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

list(APPEND FLUTTER_PLUGIN_LIST
bitsdojo_window_windows
flutter_acrylic
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
Expand Down

0 comments on commit 86cfecd

Please sign in to comment.