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

成都门户网站服装品牌vi设计案例

成都门户网站,服装品牌vi设计案例,如何快速提高网站排名,四川省的建设厅注册中心网站如果需要调用原生代码#xff0c;请创建一个plugin类型的项目开发。如果需要调用C语言#xff0c;请参考文档#xff1a;Flutter项目中调用C语言plugin 其实是 package 的一种#xff0c;全称是 plugin package#xff0c;我们简称为 plugin#xff0c;中文叫插件。 1. A… 如果需要调用原生代码请创建一个plugin类型的项目开发。如果需要调用C语言请参考文档Flutter项目中调用C语言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 多了一个 exampleexample用于当前 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, --templatetype 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, --sampleid Specifies the Flutter code sample to use as themain.dart for an application. Implies--templateapp. 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 --templateapp.--list-samplespath Specifies a JSON output file for a listing ofFlutter code samples that can be created with--sample. 例如创建一个插件 flutter create --templatepackage hello
http://www.hkea.cn/news/14365111/

相关文章:

  • 装修加盟网站优化怎么做外链
  • 查看网站开发语言方法焊工培训内容
  • 学网站开发 优帮云弄一个微信小程序多少钱
  • 用h5开发的网站模板下载703804温州论坛
  • 赣州网站建设服务东营住房和城乡建设部网站
  • 手机网站适配代码广州建站招聘
  • 网站制作费用大概多少农业品牌建设的基础是
  • wordpress网站攻击排版设计网站有哪些
  • 长春哪有做网站公司吉林省建设监理协会网站
  • ipv6域名解析 做网站基于wap的企业网站设计与实现
  • 如何做网站小编烟台专业做网页的公司
  • 合肥网站设计建主机怎么做网站服务器
  • 网站建设开发 脚本语言专注邯郸建设手机网站
  • 南通做网站公司常见的简单的app开发
  • 织梦网站底部黑链东莞品牌策划公司
  • 行业网站建设的开发方案wordpress .po
  • 网站错误代码 处理wordpress首页不显示整篇文章
  • jsp网站开发实例视频教程建各公司网站要多少钱
  • 网站建站优化seo应用领域
  • 深圳建设网站需要多少钱温州市职业中专学校
  • 网站头部ps婚庆网站策划
  • 设计公司网站应该包括的信息建wap手机网站
  • 山西网站建设推荐选择建设网站公司要注意什么
  • 网站建设方案确认表ampserv安装wordpress
  • 个人备案网站营业执照88建网站
  • 做网站主播要什么条件做外汇著名网站
  • 社交网站开发用到的技术wordpress电商主题数据库
  • 房地产行业网站开发前端自适应模板
  • 一个网站两个空间汕头网站推广优化
  • 建设网站的法律可行性wordpress自动获取标签