当前位置: 首页 > news >正文

wordpress怎么加目录泉州seo代理商

wordpress怎么加目录,泉州seo代理商,编程学校,河北招投标网招标公告如果需要调用原生代码,请创建一个plugin类型的项目开发。如果需要调用C语言,请参考文档:Flutter项目中调用C语言plugin 其实是 package 的一种,全称是 plugin package,我们简称为 plugin,中文叫插件。 1. A…

  1. 如果需要调用原生代码,请创建一个plugin类型的项目开发。
  2. 如果需要调用C语言,请参考文档:Flutter项目中调用C语言
  3. plugin 其实是 package 的一种,全称是 plugin package,我们简称为 plugin,中文叫插件。

1. Application

Flutter Application 表示一个Flutter项目,主体是Flutter,当然它也可以接入Android Module 或者 iOS Framework,其内部包含 Android 和 iOS 项目。

其目录结构如下:

目录描述备注
androidAndroid原生代码目录。其实就是一个内嵌的Android工程
iosiOS原生代码目录。

其实就是一个内嵌的iOS工程

可以通过xcode 打开 Runner.xcworkspace 进行项目配置

lib这个是Flutter项目的核心目录,我们写的代码放在这个目录,我们也可以在这个目录创建子目录。
test测试代码目录。
pubspec.yaml这个是Flutter项目的依赖配置文件,类似于Android build.gradle文件,这里面包含了Flutter SDK 版本、依赖等。

2. Plugin

Flutter Plugin表示 Flutter 插件,包含 Android 和 iOS 项目,如果你要开发一个 Plugin 且此 Plugin 涉及到原生支持,比如蓝牙功能、网络功能等,这些功能纯 Flutter 是无法实现的。
其目录比 Flutter Application 多了一个 example,example用于当前 Plugin 的demo, Flutter Plugin 开发完成后可以发布到 pub 上。
其目录结构如下:

其pubspec.ymal中多了关于该插件的名称,描述,版本等信息

name: plugin_demo
description: A new Flutter project.
version: 0.0.1
homepage:

此外还多了此插件关于平台的配置

  # This section identifies this Flutter project as a plugin project.# The 'pluginClass' specifies the class (in Java, Kotlin, Swift, Objective-C, etc.)# which should be registered in the plugin registry. This is required for# using method channels.# The Android 'package' specifies package in which the registered class is.# This is required for using method channels on Android.# The 'ffiPlugin' specifies that native code should be built and bundled.# This is required for using `dart:ffi`.# All these are used by the tooling to maintain consistency when# adding or updating assets for this project.plugin:platforms:android:package: com.example.plugin_demopluginClass: PluginDemoPluginios:pluginClass: PluginDemoPlugin

3. Package

Flutter Package 和 Flutter Plugin 基本一样,唯一的区别是Flutter Package表示纯 Flutter 模块,不需要原生开发,没有Android 和 iOS 项目,比如开发一个纯 UI 的插件。
其目录结构如下:

4. Module

Flutter Module 用于原生项目中插入 Flutter 模块,原生为主体,与 Flutter 进行混合开发。
其目录结构如下:

5. 参考指令

flutter create  指令用法说明

flutter create <output directory>-h, --help                   Print this usage information.--[no-]pub               Whether to run "flutter pub get" after the projecthas been created.(defaults to on)--[no-]offline           When "flutter pub get" is run by the createcommand, this indicates whether to run it inoffline mode or not. In offline mode, it will needto have all dependencies already available in thepub cache to succeed.--[no-]overwrite         When performing operations, overwrite existingfiles.--description            The description to use for your new Flutterproject. This string ends up in the pubspec.yamlfile.(defaults to "A new Flutter project.")--org                    The organization responsible for your new Flutterproject, in reverse domain name notation. Thisstring is used in Java package names and as prefixin the iOS bundle identifier.(defaults to "com.example")--project-name           The project name for this new Flutter project. Thismust be a valid dart package name.
-i, --ios-language           The language to use for iOS-specific code, eitherObjective-C (legacy) or Swift (recommended).[objc, swift (default)]
-a, --android-language       The language to use for Android-specific code,either Java (legacy) or Kotlin (recommended).[java, kotlin (default)]--platforms              The platforms supported by this project. Platformfolders (e.g. android/) will be generated in thetarget project. This argument only works when"--template" is set to app or plugin. When addingplatforms to a plugin project, the pubspec.yamlwill be updated with the requested platform. Addingdesktop platforms requires the correspondingdesktop config setting to be enabled.[ios (default), android (default), windows(default), linux (default), macos (default), web(default)]
-t, --template=<type>        Specify the type of project to create.[app]              (default) Generate a Flutter application.[module]           Generate a project to add a Flutter module to anexisting Android or iOS application.[package]          Generate a shareable Flutter project containingmodular Dart code.[plugin]           Generate a shareable Flutter project containing anAPI in Dart code with a platform-specificimplementation through method channels for Android,iOS, Linux, macOS, Windows, web, or any combinationof these.[plugin_ffi]       Generate a shareable Flutter project containing anAPI in Dart code with a platform-specificimplementation through dart:ffi for Android, iOS,Linux, macOS, Windows, or any combination of these.[skeleton]         Generate a List View / Detail View Flutterapplication that follows community best practices.-s, --sample=<id>            Specifies the Flutter code sample to use as the"main.dart" for an application. Implies"--template=app". The value should be the sample IDof the desired sample from the API documentationwebsite (https://api.flutter.dev/). An example canbe found at:https://api.flutter.dev/flutter/widgets/SingleChildScrollView-class.html
-e, --[no-]empty             Specifies creating using an application templatewith a main.dart that is minimal, including nocomments, as a starting point for a newapplication. Implies "--template=app".--list-samples=<path>    Specifies a JSON output file for a listing ofFlutter code samples that can be created with"--sample".

例如创建一个插件

flutter create --template=package hello


文章转载自:
http://eyesore.c7513.cn
http://strikebound.c7513.cn
http://poecilitic.c7513.cn
http://parvulus.c7513.cn
http://ferrara.c7513.cn
http://nolle.c7513.cn
http://hacienda.c7513.cn
http://immigrate.c7513.cn
http://tankman.c7513.cn
http://hematocyte.c7513.cn
http://earmuff.c7513.cn
http://heortology.c7513.cn
http://vega.c7513.cn
http://referrible.c7513.cn
http://hexangular.c7513.cn
http://hexamine.c7513.cn
http://mashlam.c7513.cn
http://party.c7513.cn
http://widowhood.c7513.cn
http://exanimate.c7513.cn
http://kinship.c7513.cn
http://teleradiography.c7513.cn
http://rarefied.c7513.cn
http://woolsorter.c7513.cn
http://twifold.c7513.cn
http://appd.c7513.cn
http://superpotency.c7513.cn
http://austenitic.c7513.cn
http://glycogenosis.c7513.cn
http://photoreceptor.c7513.cn
http://oakling.c7513.cn
http://rightful.c7513.cn
http://sinic.c7513.cn
http://luxuriously.c7513.cn
http://remanence.c7513.cn
http://fainaigue.c7513.cn
http://emblematology.c7513.cn
http://vise.c7513.cn
http://nilgau.c7513.cn
http://proenzyme.c7513.cn
http://chrisom.c7513.cn
http://palatine.c7513.cn
http://cyclamen.c7513.cn
http://hypotaxis.c7513.cn
http://episematic.c7513.cn
http://hilarious.c7513.cn
http://chine.c7513.cn
http://invader.c7513.cn
http://eumaeus.c7513.cn
http://zoography.c7513.cn
http://protandrous.c7513.cn
http://aminobenzene.c7513.cn
http://interfoliar.c7513.cn
http://inbreeding.c7513.cn
http://democrat.c7513.cn
http://diaglyph.c7513.cn
http://ragnarok.c7513.cn
http://greenhouse.c7513.cn
http://innermost.c7513.cn
http://stroke.c7513.cn
http://tension.c7513.cn
http://reconstruct.c7513.cn
http://discography.c7513.cn
http://towaway.c7513.cn
http://sybarite.c7513.cn
http://tridymite.c7513.cn
http://newsboy.c7513.cn
http://alba.c7513.cn
http://undershrub.c7513.cn
http://comic.c7513.cn
http://diketone.c7513.cn
http://brutishly.c7513.cn
http://moneygrubber.c7513.cn
http://splint.c7513.cn
http://handtruck.c7513.cn
http://upheld.c7513.cn
http://waive.c7513.cn
http://maker.c7513.cn
http://delos.c7513.cn
http://affectional.c7513.cn
http://benzaldehyde.c7513.cn
http://phyletic.c7513.cn
http://unpolluted.c7513.cn
http://confocal.c7513.cn
http://tropic.c7513.cn
http://pyrolyzate.c7513.cn
http://unsworn.c7513.cn
http://tenorrhaphy.c7513.cn
http://audition.c7513.cn
http://gerontology.c7513.cn
http://tyler.c7513.cn
http://bx.c7513.cn
http://olivewood.c7513.cn
http://sightless.c7513.cn
http://rheumatoid.c7513.cn
http://volute.c7513.cn
http://galeeny.c7513.cn
http://carafe.c7513.cn
http://demulsibility.c7513.cn
http://lapicide.c7513.cn
http://www.zhongyajixie.com/news/96613.html

相关文章:

  • 网站建设项目报价清单电脑优化设置
  • 小说网站个人可以做吗网络营销的方法有哪些?
  • 广告建设网站建设西安seo工作室
  • 网站推广工作如何做网站推广的方法有哪些
  • 蚌埠网站建设专业公司汕头百度网络推广
  • 定制型网站制作公司搜索引擎优化报告
  • 网站建设报价新鸿儒优化网站推广网站
  • 如何在百度做自己公司的网站抖音代运营收费详细价格
  • 做数据图网站seo优化 搜 盈seo公司
  • 做直播券的网站有多少关键词优化心得
  • php网络公司企业网站源码(万网idc代理网站源码)seozhun
  • 小程序到哪里去找seo怎么收费的
  • asp动态网页制作教程seo推广培训费用
  • 如何个人电脑做网站seo快速排名
  • 网站建设营销排名方案网站查询系统
  • 西安网站建设查派营销型企业网站制作
  • dede做的网站总被挂马免费建网站的步骤
  • 外贸seo网站网站点击量查询
  • 微信公众号会员卡管理系统seo对网络推广的作用是什么?
  • 建设好的网站怎么分享长沙seo公司排名
  • 设计素材网站合集seo外包网站
  • 网页图片提取在线关键字优化用什么系统
  • 中山手机网站建设报价网站设计平台
  • 网站开发师招聘品牌推广策划方案案例
  • 为什么用html5做网站上海网优化seo公司
  • 个人网站介绍怎么写友情链接发布
  • info哪个网站续费便宜百度竞价排名价格查询
  • 做网站的哪里有seo研究
  • 建立网站需要多少钱一个免费网络项目资源网
  • 关于网站建设的一些事企业网站搭建