From 8f89dc1f0ea2bfe6c0545aff3bcf2ac83f88f393 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EF=BF=B4=EF=BF=B4?= <￴￴> Date: Tue, 12 Nov 2024 18:21:58 +0700 Subject: [PATCH] update --- general_documentation/pubspec.lock | 70 +-- package/general/README.md | 421 ------------------ package/general/bin/generate_icon.dart | 13 +- .../bin/res/mipmap-hdpi/ic_launcher.png | Bin 544 -> 0 bytes .../bin/res/mipmap-mdpi/ic_launcher.png | Bin 442 -> 0 bytes .../bin/res/mipmap-xhdpi/ic_launcher.png | Bin 721 -> 0 bytes .../bin/res/mipmap-xxhdpi/ic_launcher.png | Bin 1031 -> 0 bytes .../bin/res/mipmap-xxxhdpi/ic_launcher.png | Bin 1443 -> 0 bytes package/general/bin/test.dart | 6 + package/general/lib/core/general_core.dart | 115 +++-- .../lib/flutter/general_flutter_core.dart | 196 ++------ .../flutter/local_auth/local_auth_core.dart | 3 +- package/sms_flutter/example/pubspec.lock | 64 ++- package/sms_flutter/pubspec.lock | 64 ++- package/sms_flutter/pubspec.yaml | 2 +- pubspec.lock | 30 +- 16 files changed, 258 insertions(+), 726 deletions(-) delete mode 100644 package/general/README.md delete mode 100644 package/general/bin/res/mipmap-hdpi/ic_launcher.png delete mode 100644 package/general/bin/res/mipmap-mdpi/ic_launcher.png delete mode 100644 package/general/bin/res/mipmap-xhdpi/ic_launcher.png delete mode 100644 package/general/bin/res/mipmap-xxhdpi/ic_launcher.png delete mode 100644 package/general/bin/res/mipmap-xxxhdpi/ic_launcher.png create mode 100644 package/general/bin/test.dart diff --git a/general_documentation/pubspec.lock b/general_documentation/pubspec.lock index 5ca6569..a5fd346 100644 --- a/general_documentation/pubspec.lock +++ b/general_documentation/pubspec.lock @@ -213,10 +213,10 @@ packages: dependency: transitive description: name: ffi - sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21" + sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.3" file: dependency: transitive description: @@ -266,10 +266,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: "9e8c3858111da373efc5aa341de011d9bd23e2c5c5e0c62bccf32438e192d7b1" + sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" url: "https://pub.dev" source: hosted - version: "3.0.2" + version: "4.0.0" flutter_svg: dependency: transitive description: @@ -300,18 +300,18 @@ packages: dependency: "direct main" description: name: general_lib - sha256: "31a7b5d3ddecf4f2cbec40f63343dac1394a6d66354ec95f82c6e2aa70a4237d" + sha256: e3585e86131840a40aad7760b1288180063169139a3b28a6f6f5ae8c531fd8fc url: "https://pub.dev" source: hosted - version: "0.0.42" + version: "0.0.46" general_lib_flutter: dependency: "direct main" description: name: general_lib_flutter - sha256: "77db2260e6e7c6336442ce040e7f87b6175c945904b459dc864f63f5229bf791" + sha256: "387829e9db02cc66e67663a4e1a118a58815534366ed802e7ce4b8ac2cbb5736" url: "https://pub.dev" source: hosted - version: "0.0.22" + version: "0.0.27" glob: dependency: transitive description: @@ -340,10 +340,10 @@ packages: dependency: transitive description: name: http - sha256: "761a297c042deedc1ffbb156d6e2af13886bb305c2a343a4d972504cd67dd938" + sha256: b9c29a161230ee03d3ccf545097fccd9b87a5264228c5d348202e0f0c28f9010 url: "https://pub.dev" source: hosted - version: "1.2.1" + version: "1.2.2" http_parser: dependency: transitive description: @@ -388,34 +388,34 @@ packages: dependency: transitive description: name: leak_tracker - sha256: "78eb209deea09858f5269f5a5b02be4049535f568c07b275096836f01ea323fa" + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted - version: "10.0.0" + version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: b46c5e37c19120a8a01918cfaf293547f47269f7cb4b0058f21531c2465d6ef0 + sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "3.0.5" leak_tracker_testing: dependency: transitive description: name: leak_tracker_testing - sha256: a597f72a664dbd293f3bfc51f9ba69816f84dcd403cdac7066cb3f6003f3ab47 + sha256: "6ba465d5d76e67ddf503e1161d1f4a6bc42306f9d66ca1e8f079a47290fb06d3" url: "https://pub.dev" source: hosted - version: "2.0.1" + version: "3.0.1" lints: dependency: transitive description: name: lints - sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted - version: "3.0.0" + version: "4.0.0" logging: dependency: transitive description: @@ -460,10 +460,10 @@ packages: dependency: transitive description: name: mason_logger - sha256: "56c44e588e908ef0d1dbb593e1b4473b8ee5fb48fcc8d645c925ab6c8041ebdf" + sha256: b6d6d159927a4165f197ffc5993ea680dd41c59daf35bff23bae28390c09a36e url: "https://pub.dev" source: hosted - version: "0.2.15" + version: "0.3.1" matcher: dependency: transitive description: @@ -476,18 +476,18 @@ packages: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: d584fa6707a52763a52446f02cc621b077888fb63b93bbcb1143a7be5a0c0c04 + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted - version: "1.11.0" + version: "1.15.0" mime: dependency: transitive description: @@ -588,10 +588,10 @@ packages: dependency: transitive description: name: server_universe - sha256: "4d10430c09670c82904b35ccfe3db24048b3b4dc8a0edc2961a88c25c832c4ed" + sha256: "2db056de83c8e257b8a5e2603241a34614655a5e8311cb03ceaea23fa5dd930a" url: "https://pub.dev" source: hosted - version: "0.0.17" + version: "0.0.22" sky_engine: dependency: transitive description: flutter @@ -641,10 +641,10 @@ packages: dependency: transitive description: name: telegram_client - sha256: "80ed440be0a52bd2ad740961ecf7059bf0b8e9d2028232f4e86fd65c71470098" + sha256: "4b5462916154a77bacc8203b4377eff7863be6d554aae5beb72f537ac2d51955" url: "https://pub.dev" source: hosted - version: "0.8.20" + version: "0.8.25" term_glyph: dependency: transitive description: @@ -657,10 +657,10 @@ packages: dependency: transitive description: name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" + sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" url: "https://pub.dev" source: hosted - version: "0.6.1" + version: "0.7.2" ts2dart: dependency: transitive description: @@ -801,10 +801,10 @@ packages: dependency: transitive description: name: vm_service - sha256: b3d56ff4341b8f182b96aceb2fa20e3dcb336b9f867bc0eafc0de10f1048e957 + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "13.0.0" + version: "14.2.5" watcher: dependency: transitive description: @@ -833,10 +833,10 @@ packages: dependency: transitive description: name: win32 - sha256: "0eaf06e3446824099858367950a813472af675116bf63f008a4c2a75ae13e9cb" + sha256: e5c39a90447e7c81cfec14b041cdbd0d0916bd9ebbc7fe02ab69568be703b9bd url: "https://pub.dev" source: hosted - version: "5.5.0" + version: "5.6.0" xml: dependency: transitive description: @@ -862,5 +862,5 @@ packages: source: hosted version: "2.0.0" sdks: - dart: ">=3.3.3 <4.0.0" + dart: ">=3.5.0 <4.0.0" flutter: ">=3.19.0" diff --git a/package/general/README.md b/package/general/README.md deleted file mode 100644 index 69c5cd4..0000000 --- a/package/general/README.md +++ /dev/null @@ -1,421 +0,0 @@ -# General - -General is a DART & Flutter library that allows you to access many things instantly - -[![Pub Version](https://img.shields.io/pub/v/general?label=pub.dev&labelColor=333940&logo=dart)](https://pub.dev/packages/general) - -## Creator and why this library was created - -[AZKADEV](https://github.com/azkadev) **is the original creator of this library**, **library** This was made so he could **speed up development** on **various platform & cli** all at once easily, because I sometimes make it **bot / userbot / server** which allow **deploy on LOCAL DEVICE / HP** So that **library** This is made so that you can **access features** which is in each **device** such as **(camera, fingerprint, sms, mms)** - - - -

- Creator Library - -

- - -

- - Specta - -

- - -

- -   youtube - - -   telegram - - -   Website - -

- - - -

- - youtube subscribers - - youtube views - - total stars - - followers -

- ---- - -## 🔗️ Links - -#### Docs / Tutorial / Example - -1. [GITHUB DOCS](/docs/) -2. [Youtube](https://youtube.com/@azkadev) - - - -## 🌟️ Interesting thing - -1. Cross Platform Notification -2. Cross Platform Playing / Main Media (Video & Audio) -3. Cross Platform Use Feature SMS / MMS / CONTACTS -4. Cross Platform Camera -5. Cross Platform Security (Fingerprint, Face Id) - -## How to use - -This library is only made for the dart language, I don't have any plans yet, maybe if I have more energy/time/money I will make my own code language to be more efficient - -- Dart - to use in darts you need typing - - CLI - ```bash - dart pub add general_dart - ``` - - IMPORT LIBRARY - ```dart - import "package:general/core/general.dart"; - ``` - - SCRIPT - ```dart - // ignore_for_file: non_constant_identifier_names - import "package:general/core/general.dart"; - void main(List args) async { - GeneralLibrary general_library = GeneralLibrary(); - general_library.app_background; - } - ``` - -- Flutter - to use in Flutter you need typing - - CLI - ```bash - flutter pub add general_flutter - ``` - - IMPORT LIBRARY - ```dart - import "package:general/flutter/general_flutter.dart"; - ``` - - SCRIPT - ```dart - // ignore_for_file: non_constant_identifier_names - import "package:general/flutter/general_flutter.dart"; - void main(List args) async { - GeneralFlutter general_library = GeneralFlutter(); - general_library.app_background; - } - ``` - -### Full Install Flutter - - -```bash -flutter pub add general_flutter -``` - -## ⚠️ Penting - -- Even though most examples use Flutter / GeneralFlutter as a class, this library can be overwritten / used anywhere (CLI, web, app) so for example, if you create a CLI program but are trying to deploy it in a local app, you can use the one in Flutter. -- Please help this library continue to grow by starring / following my social media accounts / Donating / Sponsoring (this is the most influential) - - -## Example Quickstart - -```dart -// ignore_for_file: non_constant_identifier_names, unnecessary_brace_in_string_interps -import "package:general/core/general.dart"; - -void main(List args) async { - GeneralLibrary general_library = GeneralLibrary(); - // app background initialized - await general_library.app_background.has_permissions; - await general_library.app_background.initialize( - notificationTitle: "App Name", - notificationMessage: "Applikasi berjalan", - ); - await general_library.app_background.enable_background; - - // text to speech - await general_library.text_to_speech.initialized(); - await general_library.text_to_speech.speak(text: "text"); - - // speech to text - await general_library.speech_to_text.has_permission; - await general_library.speech_to_text.initialized(); - await general_library.speech_to_text.realtime_speech_to_text_word( - onResult: (result) { - print("result: ${result}"); - }, - ); -} -``` - -## ❔️ FAQS - -- **Q:** Why should you use this library? -- **A:** We do not force you to use this library, but if you use this library it will be easy for you to develop because besides this library it is easy to read and manage, you can customize it as you wish. - -- **Q:** Are there any important examples that require using this library? -- **A:** If you create a server / bot program, this is mandatory because you are deploying it in an app, you will have difficulty creating logs, with this library you can access various features in the app, for example your program has an error, you can use the text to speech feature, / example If you want to access the camera remotely, you can customize it yourself, but you need a little advanced coding skills, but you don't need to learn native, just learn Dart in this library. - -- **Q:** I made an image generator program but currently I don't know how to deploy flutter on a server, can I use this on a cellphone? -- **A:** Of course you can do many things using this library quite simply - -- **Q:** I want to get SMS messages on my cellphone but they have to be sent every time on Telegram. Is that possible? -- **A:** Yes you can use this library - - -## 📑️ Features - I can make more features from below, you just need to donate / sponsor on my github - -| NO | Nama | Deskripsi | ANDROID | IOS | LINUX | MACOS | WINDOWS | CLI | WEB | FUCHSIA | -|-----|----------------|-----------------------------------------------------------------|---------|-----|-------|-------|---------|-----|-----|---------| -| 1. | APP | Mengakses Banyak Hal Agar App Kamu semakin kompleks | | | | | | | | | -| 2. | APP Background | Minta Ijin background dengan mudah | | | | | | | | | -| 3. | Battery | Check battery kamu apakah sedang mengisi daya / tidak / level | | | | | | | | | -| 4. | Device | Check device kamu apakah jailbreak / root / emulator | | | | | | | | | -| 5. | Gamepad | Gunakan Gamepad Agar Kamu app kamu bisa lebih bagus | | | | | | | | | -| 6. | Notification | Kirim Notifikasi Lokal Dengan Mudah | | | | | | | | | -| 7 | Player | Putar Audi & Video Secara Mudah | | | | | | | | | -| 8. | Permisssion | Minta Ijin App Secara mudah | | | | | | | | | -| 9. | Sim Card | Baca Detail Sim Card | | | | | | | | | -| 10. | Sms | Baca, Kirim, Edit contact, Dan Mendapatkan Contact Dengan Mudah | | | | | | | | | -| 12. | Speech To Text | Hasilkan Text Dari Suara File / Live | | | | | | | | | -| 13. | Text To Speech | Hasilkan Suara Dari Text | | | | | | | | | - -## Contoh - -| NO | Screenshot / Demo | Descripction | LINK | Open Source | -|----|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|------|-------------| -| 1 | | Sebuah Applikasi untuk menjalankan berbagai bot / userbot / ai dengan banyak fitur + bisa menjadi assistant pribadi + teman | | TIDAK | -| 2. | | Sebuah Applikasi Telegram Pihak 3 Dengan banyak fitur menarik | | TIDAK | -| 3. | | Sebuah applikasi dengan banyak fitur yang memungkinkan anda bisa berbisnis / bersenang senang / membeli jasa dengan mudah di 1 app / platform | | TIDAK | - - -

- Global Corporation - - ![](https://raw.githubusercontent.com/globalcorporation/.github/main/.github/logo/global_corporation.png) -

- - -

- Welcome to Global Corporation profile! -   -

- - -

- Instagram -       - Twitter -       - Twitter -       - Youtube -       -

- -**Global Corporation** Is a **leading company** that takes a leading role in **accelerating** and **maintaining** enterprise security. - -With a sharp focus on innovation and technological excellence - -**Global Corporation** providing effective proactive solutions to secure company operations and prevent potential adverse risks. - -With a committed team of experts, advanced technology, and a holistic approach to corporate security, Global Corporation has become a benchmark for other companies that prioritize security and safety as a top priority in their business. - -[![](https://raw.githubusercontent.com/globalcorporation/.github/main/.github/logo/powered.png)](https://www.youtube.com/@Global_Corporation) - -## Application / Product / Project Official - -

- Global App - - ![](https://raw.githubusercontent.com/globalcorporation/.github/main/.github/logo/global_corporation.png) -

- - Super Cross-platform application allows you to do social media / chat as well as a place for buying and selling businesses to find work -[![](https://cdn.dribbble.com/userupload/13133188/file/original-2331747061f15217a2f16cc3d665c5b6.jpg)](https://github.com/globalcorporation/global_app) - -

- Global Bot App - - ![](https://raw.githubusercontent.com/globalcorporation/.github/main/.github/logo/global_corporation.png) -

- - Super cross-platform application allows you to handle lots of bots / userbots / AI for your assistants, making it easier for you in all your affairs - -[![](https://cdn.dribbble.com/userupload/13133188/file/original-2331747061f15217a2f16cc3d665c5b6.jpg)](https://github.com/globalcorporation/global_bot_app) - -### Global Studio Developer - - The cross-platform Studio Developer application allows you to code on various platforms - -[![](https://cdn.dribbble.com/userupload/13133188/file/original-2331747061f15217a2f16cc3d665c5b6.jpg)](https://github.com/globalcorporation/global_bot_app) - -

- Ads Gateway - - ![](https://raw.githubusercontent.com/globalcorporation/.github/main/.github/logo/ads_gateway.png) -

- - **Applikasi** Cross platform advertising allows you to advertise on various platforms easily - -[![](https://cdn.dribbble.com/userupload/13133188/file/original-2331747061f15217a2f16cc3d665c5b6.jpg)](https://github.com/globalcorporation/coinlox) - -

- Archivon - - ![](https://raw.githubusercontent.com/globalcorporation/.github/main/.github/logo/archivon.png) -

- - **Applikasi** Linux based operating system which will be released - -[![](https://cdn.dribbble.com/userupload/13133188/file/original-2331747061f15217a2f16cc3d665c5b6.jpg)](https://github.com/globalcorporation/coinlox) - -

- Coinlox - - ![](https://raw.githubusercontent.com/globalcorporation/.github/main/.github/logo/coinlox.png) -

- - **Applikasi** Cross Platform Wallet allows you to store money on the internet safely - -[![](https://cdn.dribbble.com/userupload/13133188/file/original-2331747061f15217a2f16cc3d665c5b6.jpg)](https://github.com/globalcorporation/coinlox) - - - -### Global Bot Telegram - - Super Bot Telegram allows you to manage various chat groups / private / channels as well as a place to buy and sell the products we sell, you can buy this service from - IDR: 25k / bulan - $: 1,5 Dollar - -[![](https://cdn.dribbble.com/userupload/13133188/file/original-2331747061f15217a2f16cc3d665c5b6.jpg)](https://github.com/globalcorporation/global_bot_telegram) - -### Global Userbot Telegram - - Super Bot Telegram allows you to manage various chat groups / private / channels as well as a place to buy and sell the products we sell, you can buy this service from - IDR: 25k / bulan - $: 1,5 Dollar - -[![](https://cdn.dribbble.com/userupload/13133188/file/original-2331747061f15217a2f16cc3d665c5b6.jpg)](https://github.com/globalcorporation/global_userbot_telegram) - -### Global Bot Whatsapp - - Super Bot Telegram allows you to manage various chat groups / private / channels as well as a place to buy and sell the products we sell, you can buy this service from - IDR: 25k / bulan - $: 1,5 Dollar - -[![](https://cdn.dribbble.com/userupload/13133188/file/original-2331747061f15217a2f16cc3d665c5b6.jpg)](https://github.com/globalcorporation/global_bot_whatsapp) - -## Social Media - -

- Telegram -   -

- -1. [Group Developer Global Public](https://t.me/DEVELOPER_GLOBAL_PUBLIC) - -## Product / Services - -1. **Clone Bot / Userbot** - Hi, do you want to have a bot / userbot with lots of features?. - - **Features**: - - **Repeat Message** - - **Manage Chat Private / Channel / Group** - - **Platform Support**: - - **Telegram** - - **Whatsapp** - - **Twitter** - - **Github** - - **Google** -1. **Products** - - **Black Products** - - **Group / Channel** - - **Nsfw** - - **Payment Gateway** - - **Paid Promote** - - **Pre Release / Beta** - - **Promo Cheap** - - **Source Code Bot / USerbot** - - **Trade** -2. **Services** - - **Developer** - - **Goal** - - **Partner** - - **Promote** - - **Recommendation** - - **Sortcut Cheat Sheet** - - **Terminate** - - **Upgrade** - -## How To Buy Services Or Products | Cara Beli Jasa Atau Products - -- **Via Telegram Bot** - - - **Englisth** - - If you want to buy, you can use Telegram to automatically process the payment - (if the long process is not a **SCAM!!** it's possible that the **server is down** so the process could take longer. If in doubt, tap the report menu then fill in a complaint) - - - Open Bot: https://t.me/GLOBAL_CORP_ORG_BOT - - Fill in personal data / subscribe to the channel - - Tap Main menu select services / products - - Select Products / Services - - Make sure there are enough coins - - Fill in the required data - - - - **Indonesia** - - Jika kamu ingin membeli bisa lewat telegram automatis pembayaran hingga proses - (jika proses lama itu bukan **SCAM !!** kemungkinan **server down** jadi proses bisa lebih lama jika ragu tap menu report lalu isi keluhan) - - Buka Bot: https://t.me/GLOBAL_CORP_ORG_BOT - - Isi data pribadi / subscribe channel - - Tap Main menu pilih services / products - - Pilih Product / Services - - Pastikan coin mencukupi - - Isi data yang di butuhkan - -- **Via Telegram USER** - - - Buka: https://t.me/general_user - - Ucapin apapun yang kamu butuh jasa dev / apapun - - -Video Tutorial -[![Watch the video](https://img.youtube.com/vi/TY0Y21C6asM/maxresdefault.jpg)](https://www.youtube.com/watch?v=TY0Y21C6asM) - -- **Lewat App** - - - **English** - - If you want to see a product/service with a full demo, you can buy it via the app - - - **Indonesia** - - jika kamu ingin melihat product / jasa dengan full demo kamu bisa beli lewat app - -## 📺 Latest YouTube Videos - - - -[![Userbot LIFE TIME Subsription Telegram Murah Unlimited Akun Ultra FAST | Global Corporation](https://ytcards.demolab.com/?id=LfNt8A2fCLQ&title=Userbot+LIFE+TIME+Subsription+Telegram+Murah+Unlimited+Akun+Ultra+FAST+%7C+Global+Corporation&lang=id×tamp=1712129787&background_color=%230d1117&title_color=%23ffffff&stats_color=%23dedede&max_title_lines=1&width=250&border_radius=5 "Userbot LIFE TIME Subsription Telegram Murah Unlimited Akun Ultra FAST | Global Corporation")](https://www.youtube.com/watch?v=LfNt8A2fCLQ) -[![Tolong 😭 Siapapun beli satu jasa aku ntr aku kasih harga seiklasnya / ada yang mau donasi | GLOBAL](https://ytcards.demolab.com/?id=BFl2AT_pdOw&title=Tolong+%F0%9F%98%AD+Siapapun+beli+satu+jasa+aku+ntr+aku+kasih+harga+seiklasnya+%2F+ada+yang+mau+donasi+%7C+GLOBAL&lang=id×tamp=1710988807&background_color=%230d1117&title_color=%23ffffff&stats_color=%23dedede&max_title_lines=1&width=250&border_radius=5 "Tolong 😭 Siapapun beli satu jasa aku ntr aku kasih harga seiklasnya / ada yang mau donasi | GLOBAL")](https://www.youtube.com/watch?v=BFl2AT_pdOw) -[![Cara beli ai telegram versi bot dan cara pakai| Global Corporation](https://ytcards.demolab.com/?id=7LZhoklvS9A&title=Cara+beli+ai+telegram+versi+bot+dan+cara+pakai%7C+Global+Corporation&lang=id×tamp=1710937415&background_color=%230d1117&title_color=%23ffffff&stats_color=%23dedede&max_title_lines=1&width=250&border_radius=5 "Cara beli ai telegram versi bot dan cara pakai| Global Corporation")](https://www.youtube.com/watch?v=7LZhoklvS9A) -[![Ai Userbot Telegram Demo Cara Pakai Dan Beli | Global Corporation](https://ytcards.demolab.com/?id=4mAZ6EgAhUo&title=Ai+Userbot+Telegram+Demo+Cara+Pakai+Dan+Beli+%7C+Global+Corporation&lang=id×tamp=1710936251&background_color=%230d1117&title_color=%23ffffff&stats_color=%23dedede&max_title_lines=1&width=250&border_radius=5 "Ai Userbot Telegram Demo Cara Pakai Dan Beli | Global Corporation")](https://www.youtube.com/watch?v=4mAZ6EgAhUo) -[![CARA BELI USERBOT TELEGRAM CLOUD | Global Corporation](https://ytcards.demolab.com/?id=uiDJwK9r3Cg&title=CARA+BELI+USERBOT+TELEGRAM+CLOUD++%7C+Global+Corporation&lang=id×tamp=1710900440&background_color=%230d1117&title_color=%23ffffff&stats_color=%23dedede&max_title_lines=1&width=250&border_radius=5 "CARA BELI USERBOT TELEGRAM CLOUD | Global Corporation")](https://www.youtube.com/watch?v=uiDJwK9r3Cg) -[![Cara Top Up Automatis Menggunakan Payment Gateway Di GLOBAL BOT APP](https://ytcards.demolab.com/?id=ADqzS5ORJsU&title=Cara+Top+Up+Automatis+Menggunakan+Payment+Gateway+Di+GLOBAL+BOT+APP&lang=id×tamp=1710721879&background_color=%230d1117&title_color=%23ffffff&stats_color=%23dedede&max_title_lines=1&width=250&border_radius=5 "Cara Top Up Automatis Menggunakan Payment Gateway Di GLOBAL BOT APP")](https://www.youtube.com/watch?v=ADqzS5ORJsU) - - - - \ No newline at end of file diff --git a/package/general/bin/generate_icon.dart b/package/general/bin/generate_icon.dart index 99ffb2d..5900800 100644 --- a/package/general/bin/generate_icon.dart +++ b/package/general/bin/generate_icon.dart @@ -52,18 +52,7 @@ void main(List args) async { ), size: element.size, ); - } - { - await img.Command().rewriteAsync( - imageSourcePath: imageSource, - saveToSourcePath: path.join( - directory_android.path, - "${element.name}-v4", - "ic_launcher.png", - ), - size: element.size, - ); - } + } } } } diff --git a/package/general/bin/res/mipmap-hdpi/ic_launcher.png b/package/general/bin/res/mipmap-hdpi/ic_launcher.png deleted file mode 100644 index db77bb4b7b0906d62b1847e87f15cdcacf6a4f29..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 544 zcmeAS@N?(olHy`uVBq!ia0vp^9w5xY3?!3`olAj~WQl7;NpOBzNqJ&XDuZK6ep0G} zXKrG8YEWuoN@d~6R2!h8bpbvhu0Wd6uZuB!w&u2PAxD2eNXD>P5D~Wn-+_Wa#27Xc zC?Zj|6r#X(-D3u$NCt}(Ms06KgJ4FxJVv{GM)!I~&n8Bnc94O7-Hd)cjDZswgC;Qs zO=b+9!WcT8F?0rF7!Uys2bs@gozCP?z~o%U|N3vA*22NaGQG zlg@K`O_XuxvZ&Ks^m&R!`&1=spLvfx7oGDKDwpwW`#iqdw@AL`7MR}m`rwr|mZgU`8P7SBkL78fFf!WnuYWm$5Z0 zNXhDbCv&49sM544K|?c)WrFfiZvCi9h0O)B3Pgg&ebxsLQ05GG~ AQ2+n{ diff --git a/package/general/bin/res/mipmap-mdpi/ic_launcher.png b/package/general/bin/res/mipmap-mdpi/ic_launcher.png deleted file mode 100644 index 17987b79bb8a35cc66c3c1fd44f5a5526c1b78be..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 442 zcmeAS@N?(olHy`uVBq!ia0vp^1|ZDA3?vioaBc-sk|nMYCBgY=CFO}lsSJ)O`AMk? zp1FzXsX?iUDV2pMQ*D5Xx&nMcT!A!W`0S9QKQy;}1Cl^CgaH=;G9cpY;r$Q>i*pfB zP2drbID<_#qf;rPZx^FqH)F_D#*k@@q03KywUtLX8Ua?`H+NMzkczFPK3lFz@i_kW%1NOn0|D2I9n9wzH8m|-tHjsw|9>@K=iMBhxvkv6m8Y-l zytQ?X=U+MF$@3 zt`~i=@j|6y)RWMK--}M|=T`o&^Ni>IoWKHEbBXz7?A@mgWoL>!*SXo`SZH-*HSdS+ yn*9;$7;m`l>wYBC5bq;=U}IMqLzqbYCidGC!)_gkIk_C@Uy!y&wkt5C($~2D>~)O*cj@FGjOCM)M>_ixfudOh)?xMu#Fs z#}Y=@YDTwOM)x{K_j*Q;dPdJ?Mz0n|pLRx{4n|)f>SXlmV)XB04CrSJn#dS5nK2lM zrZ9#~WelCp7&e13Y$jvaEXHskn$2V!!DN-nWS__6T*l;H&Fopn?A6HZ-6WRLFP=R` zqG+CE#d4|IbyAI+rJJ`&x9*T`+a=p|0O(+s{UBcyZdkhj=yS1>AirP+0R;mf2uMgM zC}@~JfByORAh4SyRgi&!(cja>F(l*O+nd+@4m$|6K6KDn_&uvCpV23&>G9HJp{xgg zoq1^2_p9@|WEo z*X_Uko@K)qYYv~>43eQGMdbiGbo>E~Q& zrYBH{QP^@Sti!`2)uG{irBBq@y*$B zi#&(U-*=fp74j)RyIw49+0MRPMRU)+a2r*PJ$L5roHt2$UjExCTZSbq%V!HeS7J$N zdG@vOZB4v_lF7Plrx+hxo7(fCV&}fHq)$ diff --git a/package/general/bin/res/mipmap-xxhdpi/ic_launcher.png b/package/general/bin/res/mipmap-xxhdpi/ic_launcher.png deleted file mode 100644 index d5f1c8d34e7a88e3f88bea192c3a370d44689c3c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1031 zcmeAS@N?(olHy`uVBq!ia0vp^6F``Q8Ax83A=Cw=BuiW)N`mv#O3D+9QW+dm@{>{( zJaZG%Q-e|yQz{EjrrIztFa`(sgt!6~Yi|1%a`XoT0ojZ}lNrNjb9xjc(B0U1_% zz5^97Xt*%oq$rQy4?0GKNfJ44uvxI)gC`h-NZ|&0-7(qS@?b!5r36oQ}zyZrNO3 zMO=Or+<~>+A&uN&E!^Sl+>xE!QC-|oJv`ApDhqC^EWD|@=#J`=d#Xzxs4ah}w&Jnc z$|q_opQ^2TrnVZ0o~wh<3t%W&flvYGe#$xqda2bR_R zvPYgMcHgjZ5nSA^lJr%;<&0do;O^tDDh~=pIxA#coaCY>&N%M2^tq^U%3DB@ynvKo}b?yu-bFc-u0JHzced$sg7S3zqI(2 z#Km{dPr7I=pQ5>FuK#)QwK?Y`E`B?nP+}U)I#c1+FM*1kNvWG|a(TpksZQ3B@sD~b zpQ2)*V*TdwjFOtHvV|;OsiDqHi=6%)o4b!)x$)%9pGTsE z-JL={-Ffv+T87W(Xpooq<`r*VzWQcgBN$$`u}f>-ZQI1BB8ykN*=e4rIsJx9>z}*o zo~|9I;xof diff --git a/package/general/bin/res/mipmap-xxxhdpi/ic_launcher.png b/package/general/bin/res/mipmap-xxxhdpi/ic_launcher.png deleted file mode 100644 index 4d6372eebdb28e45604e46eeda8dd24651419bc0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1443 zcmb`G{WsKk6vsdJTdFg%tJav9_E4vzrOaqkWF|A724Nly!y+?N9`YV6wZ}5(X(D_N(?!*n3`|_r0Hc?=PQw&*vnU?QTFY zB_MsH|!j$PP;I}?dppoE_gA(4uc!jV&0!l7_;&p2^pxNo>PEcNJv za5_RT$o2Mf!<+r?&EbHH6nMoTsDOa;mN(wv8RNsHpG)`^ymG-S5By8=l9iVXzN_eG%Xg2@Xeq76tTZ*dGh~Lo9vl;Zfs+W#BydUw zCkZ$o1LqWQO$FC9aKlLl*7x9^0q%0}$OMlp@Kk_jHXOjofdePND+j!A{q!8~Jn+s3 z?~~w@4?egS02}8NuulUA=L~QQfm;MzCGd)XhiftT;+zFO&JVyp2mBww?;QByS_1w! zrQlx%{^cMj0|Bo1FjwY@Q8?Hx0cIPF*@-ZRFpPc#bBw{5@tD(5%sClzIfl8WU~V#u zm5Q;_F!wa$BSpqhN>W@2De?TKWR*!ujY;Yylk_X5#~V!L*Gw~;$%4Q8~Mad z@`-kG?yb$a9cHIApZDVZ^U6Xkp<*4rU82O7%}0jjHlK{id@?-wpN*fCHXyXh(bLt* zPc}H-x0e4E&nQ>y%B-(EL=9}RyC%MyX=upHuFhAk&MLbsF0LP-q`XnH78@fT+pKPW zu72MW`|?8ht^tz$iC}ZwLp4tB;Q49K!QCF3@!iB1qOI=?w z7In!}F~ij(18UYUjnbmC!qKhPo%24?8U1x{7o(+?^Zu0Hx81|FuS?bJ0jgBhEMzf< zCgUq7r2OCB(`XkKcN-TL>u5y#dD6D!)5W?`O5)V^>jb)P)GBdy%t$uUMpf$SNV31$ zb||OojAbvMP?T@$h_ZiFLFVHDmbyMhJF|-_)HX3%m=CDI+ID$0^C>kzxprBW)hw(v zr!Gmda);ICoQyhV_oP5+C%?jcG8v+D@9f?Dk*!BxY}dazmrT@64UrP3hlslANK)bq z$67n83eh}OeW&SV@HG95P|bjfqJ7gw$e+`Hxo!4cx`jdK1bJ>YDSpGKLPZ^1cv$ek zIB?0S<#tX?SJCLWdMd{-ME?$hc7A$zBOdIJ)4!KcAwb=VMov)nK;9z>x~rfT1>dS+ zZ6#`2v@`jgbqq)P22H)Tx2CpmM^o1$B+xT6`(v%5xJ(?j#>Q$+rx_R|7TzDZe{J6q zG1*EcU%tE?!kO%^M;3aM6JN*LAKUVb^xz8-Pxo#jR5(-KBeLJvA@-gxNHx0M-ZJLl z;#JwQoh~9V?`UVo#}{6ka@II>++D@%KqGpMdlQ}?9E*wFcf5(#XQnP$Dk5~%iX^>f z%$y;?M0BLp{O3a(-4A?ewryHrrD%cx#Q^%KY1H zNre$ve+vceSLZcNY4U(RBX&)oZn*Py()h)XkE?PL$!bNb{N5FVI2Y%LKEm%yvpyTP z(1P?z~7YxD~Rf<(a@_y` diff --git a/package/general/bin/test.dart b/package/general/bin/test.dart new file mode 100644 index 0000000..ac54da2 --- /dev/null +++ b/package/general/bin/test.dart @@ -0,0 +1,6 @@ +import 'package:general/flutter/flutter.dart'; + +void main(List args) { + GeneralLibrary generalLibrary = GeneralLibrary(); + generalLibrary.media_player; +} diff --git a/package/general/lib/core/general_core.dart b/package/general/lib/core/general_core.dart index 88dec2e..1326fa6 100644 --- a/package/general/lib/core/general_core.dart +++ b/package/general/lib/core/general_core.dart @@ -43,80 +43,75 @@ import 'device/device.dart'; import 'core.dart'; import 'notification/notification_core.dart'; -class GeneralLibrary { - final bool is_use_static; - const GeneralLibrary({ - this.is_use_static = false, - }); +abstract class GeneralLibraryBaseCore { + dynamic get system_app => throw UnimplementedError(); + dynamic get app_background => throw UnimplementedError(); + dynamic get system_battery => throw UnimplementedError(); + dynamic get system_camera => throw UnimplementedError(); + dynamic get system_permission => throw UnimplementedError(); + dynamic get system_notification => throw UnimplementedError(); + dynamic get controller_gamepad => throw UnimplementedError(); + dynamic get text_to_speech => throw UnimplementedError(); + dynamic get system_device => throw UnimplementedError(); + dynamic get speech_to_text => throw UnimplementedError(); + dynamic get sim_card => throw UnimplementedError(); + dynamic get system_sms => throw UnimplementedError(); + dynamic get media_player => throw UnimplementedError(); + dynamic get local_auth => throw UnimplementedError(); +} - static GeneralLibraryAppBase app_static = GeneralLibraryAppBase(); +class GeneralLibrary implements GeneralLibraryBaseCore { + const GeneralLibrary(); - bool isUseStatic({required bool? isStatic}) { - return isStatic ?? is_use_static; - } + static GeneralLibraryAppBase systemApp = GeneralLibraryAppBase(); + static GeneralLibraryAppBackgroundBase appBackground = GeneralLibraryAppBackgroundBase(); + static GeneralLibraryBatteryBase systemBattery = GeneralLibraryBatteryBase(); + static GeneralLibraryCameraBase systemCamera = GeneralLibraryCameraBase(); + static final GeneralLibraryNotificationBase systemNotification = GeneralLibraryNotificationBase(); - GeneralLibraryAppBase app({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return app_static; - } - return GeneralLibraryAppBase(); - } + /// + static final GeneralLibrarySimCardBase simCard = GeneralLibrarySimCardBase(); - GeneralLibraryAppBackgroundBase app_background({bool? isStatic}) { - return GeneralLibraryAppBackgroundBase(); - } + /// + static final GeneralLibraryPlayerBase mediaPlayer = GeneralLibraryPlayerBase(); - GeneralLibraryBatteryBase battery({bool? isStatic}) { - return GeneralLibraryBatteryBase(); - } + /// - GeneralLibraryCameraBase camera({bool? isStatic}) { - return GeneralLibraryCameraBase(); - } + /// + static final GeneralLibraryDeviceBase systemDevice = GeneralLibraryDeviceBase(); - GeneralLibraryPermissionBase permission({bool? isStatic}) { - return GeneralLibraryPermissionBase(); - } + static final GeneralLibraryTextToSpeechBase textToSpeech = GeneralLibraryTextToSpeechBase(); - GeneralLibraryNotificationBase notification({bool? isStatic}) { - return GeneralLibraryNotificationBase(); - } + /// + static final GeneralLibraryGamePadBase controllerGamepad = GeneralLibraryGamePadBase(); - GeneralLibraryGamePadBase gamepad({bool? isStatic}) { - return GeneralLibraryGamePadBase(); - } + static GeneralLibraryPermissionBase systemPermission = GeneralLibraryPermissionBase(); - GeneralLibraryTextToSpeechBase text_to_speech({bool? isStatic}) { - return GeneralLibraryTextToSpeechBase(); - } + /// + static final GeneralLibrarySpeechToTextBase speechToText = GeneralLibrarySpeechToTextBase(); - GeneralLibraryDeviceBase device({bool? isStatic}) { - return GeneralLibraryDeviceBase(); - } + static final GeneralLibraryLocalAuthBase localAuth = GeneralLibraryLocalAuthBase(); - GeneralLibrarySpeechToTextBase speech_to_text({bool? isStatic}) { - return GeneralLibrarySpeechToTextBase(); - } + /// + static final GeneralLibrarySmsBase systemSms = GeneralLibrarySmsBase(); - GeneralLibrarySimCardBase sim_card({bool? isStatic}) { - return GeneralLibrarySimCardBase(); - } - - GeneralLibrarySmsBase sms({bool? isStatic}) { - return GeneralLibrarySmsBase(); - } + Future ensureInitialized() async {} - GeneralLibraryPlayerBase player({bool? isStatic}) { - return GeneralLibraryPlayerBase(); - } - - // GeneralLibraryLocationBase location { - // return GeneralLibraryLocationBase(); - // } - - GeneralLibraryLocalAuthBase local_auth({bool? isStatic}) { - return GeneralLibraryLocalAuthBase(); - } + @override + GeneralLibraryAppBase get system_app => systemApp; + GeneralLibraryAppBackgroundBase get app_background => appBackground; + GeneralLibraryBatteryBase get system_battery => systemBattery; + GeneralLibraryCameraBase get system_camera => systemCamera; + GeneralLibraryPermissionBase get system_permission => systemPermission; + GeneralLibraryNotificationBase get system_notification => systemNotification; + GeneralLibraryGamePadBase get controller_gamepad => controllerGamepad; + GeneralLibraryTextToSpeechBase get text_to_speech => textToSpeech; + GeneralLibraryDeviceBase get system_device => systemDevice; + GeneralLibrarySpeechToTextBase get speech_to_text => speechToText; + GeneralLibrarySimCardBase get sim_card => simCard; + GeneralLibrarySmsBase get system_sms => systemSms; + GeneralLibraryPlayerBase get media_player => mediaPlayer; + GeneralLibraryLocalAuthBase get local_auth => localAuth; void test() { print("oke"); diff --git a/package/general/lib/flutter/general_flutter_core.dart b/package/general/lib/flutter/general_flutter_core.dart index c6da3f2..11a9609 100644 --- a/package/general/lib/flutter/general_flutter_core.dart +++ b/package/general/lib/flutter/general_flutter_core.dart @@ -33,17 +33,15 @@ Bukan maksud kami menipu itu karena harga yang sudah di kalkulasi + bantuan tiba */ // ignore_for_file: non_constant_identifier_names - -import 'package:flutter/foundation.dart'; -import "package:general/core/core.dart"; + +import "package:general/core/core.dart"; import 'package:general/flutter/app/app.dart'; import 'package:general/flutter/app_background/app_background_core.dart'; import 'package:general/flutter/battery/battery.dart'; import 'package:general/flutter/camera/camera.dart'; import 'package:general/flutter/device/device.dart'; import 'package:general/flutter/gamepad/gamepad_core.dart'; -import 'package:general/flutter/local_auth/local_auth.dart'; -// import 'package:general/flutter/location/location.dart'; +import 'package:general/flutter/local_auth/local_auth.dart'; import 'package:general/flutter/notification/notification_core.dart'; import 'package:general/flutter/permission/permission.dart'; import 'package:general/flutter/sim_card/sim_card_core.dart'; @@ -53,185 +51,79 @@ import 'package:general/flutter/text_to_speech/text_to_speech_core.dart'; /// GeneralFlutter class GeneralFlutter extends GeneralLibrary { - GeneralFlutter({ - super.is_use_static, - }); - - @override - bool isUseStatic({required bool? isStatic}) { - return super.is_use_static; - } + const GeneralFlutter(); - // @override - // // TODO: implement is_use_static - // bool get is_use_static => super.is_use_static; + static GeneralLibraryLocalAuthBaseFlutter localAuth = GeneralLibraryLocalAuthBaseFlutter(); - @override - void test() { - if (kDebugMode) { - print("test flutter"); - } - } + static GeneralLibraryAppBaseFlutter systemApp = GeneralLibraryAppBaseFlutter(); - static GeneralLibraryAppBaseFlutter app_static = - GeneralLibraryAppBaseFlutter(); + static GeneralLibraryAppBackgroundBaseFlutter appBackground = GeneralLibraryAppBackgroundBaseFlutter(); - @override - GeneralLibraryAppBaseFlutter app({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return app_static; - } - return GeneralLibraryAppBaseFlutter(); - } + static GeneralLibraryCameraBaseFlutter systemCamera = GeneralLibraryCameraBaseFlutter(); - static GeneralLibraryAppBackgroundBaseFlutter app_background_static = - GeneralLibraryAppBackgroundBaseFlutter(); + static GeneralLibraryPermissionBaseFlutter systemPermission = GeneralLibraryPermissionBaseFlutter(); - @override - GeneralLibraryAppBackgroundBaseFlutter app_background({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return app_background_static; - } - return GeneralLibraryAppBackgroundBaseFlutter(); - } + static GeneralLibraryNotificationBaseFlutter systemNotification = GeneralLibraryNotificationBaseFlutter(); + static GeneralLibraryTextToSpeechBaseFlutter textToSpeech = GeneralLibraryTextToSpeechBaseFlutter(); - static GeneralLibraryCameraBaseFlutter camera_static = - GeneralLibraryCameraBaseFlutter(); + static GeneralLibraryBatteryBaseFlutter systembattery = GeneralLibraryBatteryBaseFlutter(); - @override - GeneralLibraryCameraBaseFlutter camera({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return camera_static; - } - return GeneralLibraryCameraBaseFlutter(); - } + static GeneralLibraryDeviceBaseFlutter systemDevice = GeneralLibraryDeviceBaseFlutter(); - static GeneralLibraryPermissionBaseFlutter permission_static = - GeneralLibraryPermissionBaseFlutter(); + static GeneralLibraryGamePadBaseFlutter controllerGamepad = GeneralLibraryGamePadBaseFlutter(); - @override - GeneralLibraryPermissionBaseFlutter permission({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return permission_static; - } - return GeneralLibraryPermissionBaseFlutter(); - } + static GeneralLibrarySpeechToTextBaseFlutter speechToText = GeneralLibrarySpeechToTextBaseFlutter(); + + static GeneralLibrarySimCardBaseFlutter simCard = GeneralLibrarySimCardBaseFlutter(); - static GeneralLibraryNotificationBaseFlutter notification_static = - GeneralLibraryNotificationBaseFlutter(); + static GeneralLibrarySmsBaseFlutter systemSms = GeneralLibrarySmsBaseFlutter(); @override - GeneralLibraryNotificationBaseFlutter notification({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return notification_static; - } - - return GeneralLibraryNotificationBaseFlutter(); - } - - static GeneralLibraryBatteryBaseFlutter battery_static = - GeneralLibraryBatteryBaseFlutter(); + GeneralLibraryAppBackgroundBaseFlutter get app_background => appBackground; @override - GeneralLibraryBatteryBaseFlutter battery({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return battery_static; - } - return GeneralLibraryBatteryBaseFlutter(); - } - - static GeneralLibraryTextToSpeechBaseFlutter text_to_speech_static = - GeneralLibraryTextToSpeechBaseFlutter(); + GeneralLibraryGamePadBaseFlutter get controller_gamepad => controllerGamepad; @override - GeneralLibraryTextToSpeechBaseFlutter text_to_speech({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return text_to_speech_static; - } - return GeneralLibraryTextToSpeechBaseFlutter(); - } + GeneralLibraryLocalAuthBaseFlutter get local_auth => localAuth; - static GeneralLibraryDeviceBaseFlutter device_static = - GeneralLibraryDeviceBaseFlutter(); + // @override + // GeneralLibraryPlayerBase get media_player => super.media_player; @override - GeneralLibraryDeviceBaseFlutter device({ - bool? isStatic, - }) { - if (isUseStatic(isStatic: isStatic)) { - return device_static; - } - - return GeneralLibraryDeviceBaseFlutter(); - } - - static GeneralLibraryGamePadBaseFlutter gamepad_static = - GeneralLibraryGamePadBaseFlutter(); + GeneralLibrarySimCardBaseFlutter get sim_card => simCard; @override - GeneralLibraryGamePadBaseFlutter gamepad({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return gamepad_static; - } - return GeneralLibraryGamePadBaseFlutter(); - } - - static GeneralLibrarySpeechToTextBaseFlutter speech_to_text_static = - GeneralLibrarySpeechToTextBaseFlutter(); + // TODO: implement speech_to_text + GeneralLibrarySpeechToTextBaseFlutter get speech_to_text => speechToText; @override - GeneralLibrarySpeechToTextBaseFlutter speech_to_text({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return speech_to_text_static; - } - return GeneralLibrarySpeechToTextBaseFlutter(); - } - - static GeneralLibrarySimCardBaseFlutter sim_card_static = - GeneralLibrarySimCardBaseFlutter(); + GeneralLibraryAppBaseFlutter get system_app => systemApp; @override - GeneralLibrarySimCardBaseFlutter sim_card({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return sim_card_static; - } - return GeneralLibrarySimCardBaseFlutter(); - } - - static GeneralLibrarySmsBaseFlutter sms_static = - GeneralLibrarySmsBaseFlutter(); - @override - GeneralLibrarySmsBaseFlutter sms({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return sms_static; - } - return GeneralLibrarySmsBaseFlutter(); - } + GeneralLibraryBatteryBaseFlutter get system_battery => systembattery; - static GeneralLibraryLocalAuthBaseFlutter local_auth_static = - GeneralLibraryLocalAuthBaseFlutter(); + @override + GeneralLibraryCameraBaseFlutter get system_camera => systemCamera; @override - GeneralLibraryLocalAuthBaseFlutter local_auth({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return local_auth_static; - } - return GeneralLibraryLocalAuthBaseFlutter(); - } + // TODO: implement system_device + GeneralLibraryDeviceBaseFlutter get system_device => systemDevice; - // @override - // GeneralLibraryLocationBaseFlutter location { - // return GeneralLibraryLocationBaseFlutter(); - // } + @override + // TODO: implement system_notification + GeneralLibraryNotificationBaseFlutter get system_notification => systemNotification; - static GeneralLibraryPlayerBase player_static = GeneralLibraryPlayerBase(); + @override + // TODO: implement system_permission + GeneralLibraryPermissionBaseFlutter get system_permission => systemPermission; @override - GeneralLibraryPlayerBase player({bool? isStatic}) { - if (isUseStatic(isStatic: isStatic)) { - return player_static; - } + // TODO: implement system_sms + GeneralLibrarySmsBaseFlutter get system_sms => systemSms; - return GeneralLibraryPlayerBase(); - } + @override + // TODO: implement text_to_speech + GeneralLibraryTextToSpeechBaseFlutter get text_to_speech => textToSpeech; + } diff --git a/package/general/lib/flutter/local_auth/local_auth_core.dart b/package/general/lib/flutter/local_auth/local_auth_core.dart index d714a4b..b27b376 100644 --- a/package/general/lib/flutter/local_auth/local_auth_core.dart +++ b/package/general/lib/flutter/local_auth/local_auth_core.dart @@ -38,8 +38,7 @@ import 'package:general/core/core.dart'; import 'package:general_lib/general_lib.dart'; import 'package:local_auth/local_auth.dart'; -class GeneralLibraryLocalAuthBaseFlutter - implements GeneralLibraryLocalAuthBase { +class GeneralLibraryLocalAuthBaseFlutter implements GeneralLibraryLocalAuthBase { GeneralLibraryLocalAuthBaseFlutter(); final LocalAuthentication localAuthentication = LocalAuthentication(); diff --git a/package/sms_flutter/example/pubspec.lock b/package/sms_flutter/example/pubspec.lock index 5e3d662..eeb5b5b 100644 --- a/package/sms_flutter/example/pubspec.lock +++ b/package/sms_flutter/example/pubspec.lock @@ -41,6 +41,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.18.0" + convert: + dependency: transitive + description: + name: convert + sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" + url: "https://pub.dev" + source: hosted + version: "3.1.1" cupertino_icons: dependency: "direct main" description: @@ -66,10 +74,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: b543301ad291598523947dc534aaddc5aaad597b709d2426d3a0e0d44c5cb493 + sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "4.0.0" flutter_test: dependency: "direct dev" description: flutter @@ -80,22 +88,30 @@ packages: description: flutter source: sdk version: "0.0.0" + js: + dependency: transitive + description: + name: js + sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf + url: "https://pub.dev" + source: hosted + version: "0.7.1" leak_tracker: dependency: transitive description: name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted - version: "10.0.4" + version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "3.0.5" leak_tracker_testing: dependency: transitive description: @@ -108,10 +124,10 @@ packages: dependency: transitive description: name: lints - sha256: a2c3d198cb5ea2e179926622d433331d8b58374ab8f29cdda6e863bd62fd369c + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "4.0.0" matcher: dependency: transitive description: @@ -124,18 +140,18 @@ packages: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.15.0" path: dependency: transitive description: @@ -152,6 +168,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" + pointycastle: + dependency: "direct overridden" + description: + name: pointycastle + sha256: "70fe966348fe08c34bf929582f1d8247d9d9408130723206472b4687227e4333" + url: "https://pub.dev" + source: hosted + version: "3.8.0" sky_engine: dependency: transitive description: flutter @@ -208,10 +232,18 @@ packages: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" + url: "https://pub.dev" + source: hosted + version: "0.7.2" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "1.3.2" url_launcher: dependency: transitive description: @@ -288,10 +320,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "14.2.1" + version: "14.2.5" web: dependency: transitive description: diff --git a/package/sms_flutter/pubspec.lock b/package/sms_flutter/pubspec.lock index 7a75fc5..84ff906 100644 --- a/package/sms_flutter/pubspec.lock +++ b/package/sms_flutter/pubspec.lock @@ -41,6 +41,14 @@ packages: url: "https://pub.dev" source: hosted version: "1.18.0" + convert: + dependency: transitive + description: + name: convert + sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" + url: "https://pub.dev" + source: hosted + version: "3.1.1" fake_async: dependency: transitive description: @@ -58,10 +66,10 @@ packages: dependency: "direct dev" description: name: flutter_lints - sha256: b543301ad291598523947dc534aaddc5aaad597b709d2426d3a0e0d44c5cb493 + sha256: "3f41d009ba7172d5ff9be5f6e6e6abb4300e263aab8866d2a0842ed2a70f8f0c" url: "https://pub.dev" source: hosted - version: "1.0.4" + version: "4.0.0" flutter_test: dependency: "direct dev" description: flutter @@ -72,22 +80,30 @@ packages: description: flutter source: sdk version: "0.0.0" + js: + dependency: transitive + description: + name: js + sha256: c1b2e9b5ea78c45e1a0788d29606ba27dc5f71f019f32ca5140f61ef071838cf + url: "https://pub.dev" + source: hosted + version: "0.7.1" leak_tracker: dependency: transitive description: name: leak_tracker - sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a" + sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05" url: "https://pub.dev" source: hosted - version: "10.0.4" + version: "10.0.5" leak_tracker_flutter_testing: dependency: transitive description: name: leak_tracker_flutter_testing - sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8" + sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806" url: "https://pub.dev" source: hosted - version: "3.0.3" + version: "3.0.5" leak_tracker_testing: dependency: transitive description: @@ -100,10 +116,10 @@ packages: dependency: transitive description: name: lints - sha256: a2c3d198cb5ea2e179926622d433331d8b58374ab8f29cdda6e863bd62fd369c + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted - version: "1.0.1" + version: "4.0.0" matcher: dependency: transitive description: @@ -116,18 +132,18 @@ packages: dependency: transitive description: name: material_color_utilities - sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a" + sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec url: "https://pub.dev" source: hosted - version: "0.8.0" + version: "0.11.1" meta: dependency: transitive description: name: meta - sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136" + sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7 url: "https://pub.dev" source: hosted - version: "1.12.0" + version: "1.15.0" path: dependency: transitive description: @@ -144,6 +160,14 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.8" + pointycastle: + dependency: "direct overridden" + description: + name: pointycastle + sha256: "70fe966348fe08c34bf929582f1d8247d9d9408130723206472b4687227e4333" + url: "https://pub.dev" + source: hosted + version: "3.8.0" sky_engine: dependency: transitive description: flutter @@ -193,10 +217,18 @@ packages: dependency: transitive description: name: test_api - sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f" + sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb" + url: "https://pub.dev" + source: hosted + version: "0.7.2" + typed_data: + dependency: transitive + description: + name: typed_data + sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c url: "https://pub.dev" source: hosted - version: "0.7.0" + version: "1.3.2" url_launcher: dependency: "direct main" description: @@ -273,10 +305,10 @@ packages: dependency: transitive description: name: vm_service - sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec" + sha256: "5c5f338a667b4c644744b661f309fb8080bb94b18a7e91ef1dbd343bed00ed6d" url: "https://pub.dev" source: hosted - version: "14.2.1" + version: "14.2.5" web: dependency: transitive description: diff --git a/package/sms_flutter/pubspec.yaml b/package/sms_flutter/pubspec.yaml index 8730793..1eab1f4 100644 --- a/package/sms_flutter/pubspec.yaml +++ b/package/sms_flutter/pubspec.yaml @@ -10,7 +10,7 @@ dependencies: flutter_web_plugins: sdk: 'flutter' plugin_platform_interface: '^2.1.8' - url_launcher: '^6.2.5' + url_launcher: '^6.3.1' dev_dependencies: flutter_test: sdk: 'flutter' diff --git a/pubspec.lock b/pubspec.lock index a8c05d1..1b4ef7b 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -17,6 +17,14 @@ packages: url: "https://pub.dev" source: hosted version: "6.4.1" + archive: + dependency: transitive + description: + name: archive + sha256: cb6a278ef2dbb298455e1a713bda08524a175630ec643a242c399c932a0a1f7d + url: "https://pub.dev" + source: hosted + version: "3.6.1" args: dependency: transitive description: @@ -101,10 +109,10 @@ packages: dependency: transitive description: name: ffi - sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21" + sha256: "16ed7b077ef01ad6170a3d0c57caa4a112a38d7a2ed5602e0aca9ca6f3d98da6" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.1.3" file: dependency: transitive description: @@ -125,10 +133,10 @@ packages: dependency: "direct main" description: name: general_lib - sha256: f968f3bee797cbdd3b3282b1842e3674f7a0e07cad6326996982d1b1bd56f5ac + sha256: e3585e86131840a40aad7760b1288180063169139a3b28a6f6f5ae8c531fd8fc url: "https://pub.dev" source: hosted - version: "0.0.43" + version: "0.0.46" glob: dependency: transitive description: @@ -181,10 +189,10 @@ packages: dependency: "direct dev" description: name: lints - sha256: "0a217c6c989d21039f1498c3ed9f3ed71b354e69873f13a8dfc3c9fe76f1b452" + sha256: "976c774dd944a42e83e2467f4cc670daef7eed6295b10b36ae8c85bcbf828235" url: "https://pub.dev" source: hosted - version: "2.1.1" + version: "4.0.0" logging: dependency: transitive description: @@ -197,10 +205,10 @@ packages: dependency: "direct main" description: name: mason_logger - sha256: "56c44e588e908ef0d1dbb593e1b4473b8ee5fb48fcc8d645c925ab6c8041ebdf" + sha256: b6d6d159927a4165f197ffc5993ea680dd41c59daf35bff23bae28390c09a36e url: "https://pub.dev" source: hosted - version: "0.2.15" + version: "0.3.1" matcher: dependency: transitive description: @@ -445,10 +453,10 @@ packages: dependency: transitive description: name: win32 - sha256: "0eaf06e3446824099858367950a813472af675116bf63f008a4c2a75ae13e9cb" + sha256: e5c39a90447e7c81cfec14b041cdbd0d0916bd9ebbc7fe02ab69568be703b9bd url: "https://pub.dev" source: hosted - version: "5.5.0" + version: "5.6.0" yaml: dependency: "direct main" description: @@ -466,4 +474,4 @@ packages: source: hosted version: "2.0.0" sdks: - dart: ">=3.3.3 <4.0.0" + dart: ">=3.5.0 <4.0.0"