随笔分类 -  3-Flutter

摘要:介绍 https://developer.apple.com/testflight/ 上架流程 https://help.apple.com/app-store-connect/#/devdc42b26b8 1.输入测试信息 https://appstoreconnect.apple.com/ 进入 阅读全文
posted @ 2020-10-10 14:14 富坚老贼 阅读(1205) 评论(0) 推荐(0) 编辑
摘要:structure and navigation Appbar BottomNavigationBar Drawer MaterialApp Scaffold SliverAppBar TabBar TabBarView WidgetsApp 阅读全文
posted @ 2020-10-09 11:52 富坚老贼 阅读(108) 评论(0) 推荐(0) 编辑
摘要:Divider 分割线 Column( children: [ Container( color: Colors.amber, child: const Center( child: Text('上'), ), ), Divider( //分割线颜色 color: Colors.black, //前 阅读全文
posted @ 2020-10-09 08:54 富坚老贼 阅读(153) 评论(0) 推荐(0) 编辑
摘要:一、material风格 # Buttons MaterialButton\RaisedButton\FlatButton\IconButton\FloatingActionButton\OutlineButton\DropdownButton # Dialogs, alerts, and pane 阅读全文
posted @ 2020-10-09 08:36 富坚老贼 阅读(138) 评论(0) 推荐(0) 编辑
摘要:https://flutter.github.io/cupertino_icons/ 阅读全文
posted @ 2020-10-02 11:18 富坚老贼 阅读(120) 评论(0) 推荐(0) 编辑
摘要:在iosapp同级路径下 flutter create -t module --org com.example my_flutter 在iosapp的跟路径下 pod init 在生成的podfile文件中添加 flutter_application_path = '../my_flutter' l 阅读全文
posted @ 2020-10-01 15:45 富坚老贼 阅读(338) 评论(0) 推荐(0) 编辑
摘要:flutter添加到android原生 1.创建一个flutter module flutter create -t module --org com.example my_flutter 2.在原生build.gradle下 android { //... compileOptions { sou 阅读全文
posted @ 2020-09-30 10:14 富坚老贼 阅读(592) 评论(0) 推荐(0) 编辑
摘要:一、flutter调用原生方法 1.调用android flutter端 class _MyHomePageState extends State<MyHomePage> { static const MethodChannel methodChannel = MethodChannel("chan 阅读全文
posted @ 2020-09-28 11:39 富坚老贼 阅读(410) 评论(0) 推荐(0) 编辑
摘要:一、生成二维码 https://pub.flutter-io.cn/packages/qr_flutter qr_flutter: ^3.1.0 QrImage( data: "1234567890", version: QrVersions.auto, size: 200.0, ), 全 //生成 阅读全文
posted @ 2020-09-04 08:45 富坚老贼 阅读(364) 评论(0) 推荐(0) 编辑
摘要:引入 signalr_core: 1.0.5 阅读全文
posted @ 2020-08-30 16:19 富坚老贼 阅读(398) 评论(0) 推荐(0) 编辑
摘要:https://grpc.io/docs/languages/dart/quickstart/ 1.安装brew https://brew.sh/index_zh-cn.html ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Home 阅读全文
posted @ 2020-08-29 15:57 富坚老贼 阅读(1195) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-08-18 14:46 富坚老贼 阅读(179) 评论(0) 推荐(0) 编辑
摘要:initstate setstate 阅读全文
posted @ 2020-08-09 09:43 富坚老贼 阅读(90) 评论(0) 推荐(0) 编辑
摘要:一、内联反序列化 把JSON字符串转换成 Map<String, dynamic> 或者 List<dynamic> import 'dart:convert'; main(List<String> args) { JsonCodec json = new JsonCodec(); String s 阅读全文
posted @ 2020-08-07 20:18 富坚老贼 阅读(490) 评论(0) 推荐(0) 编辑
摘要:warp Wrap( //控件间的对齐方式 alignment:WrapAlignment.spaceBetween, //垂直或水平排列。默认水平 direction:Axis.horizontal, spacing: 30.0, //控件间的距离 runSpacing: 30.0, // 行间距 阅读全文
posted @ 2020-06-23 14:58 富坚老贼 阅读(118) 评论(0) 推荐(0) 编辑
摘要:一、Android 1.引入插件 permission_handler: 5.0.1+1 #权限请求 path_provider: 1.6.14 #路径 flutter_downloader: 1.4.4 #下载 2. androidmanifest.xml <!--网络权限--> <uses-pe 阅读全文
posted @ 2020-06-23 14:53 富坚老贼 阅读(2527) 评论(0) 推荐(0) 编辑
摘要:1.MaterialButton MaterialApp( home: Scaffold( appBar: AppBar( title: Text("测试"), ), body: Center( child: MaterialButton( color: Colors.blue, textColor 阅读全文
posted @ 2020-06-23 14:52 富坚老贼 阅读(463) 评论(0) 推荐(0) 编辑
摘要:Input and selections Checkbox Date & Time Pickers Radio Slider Switch TextField 阅读全文
posted @ 2020-05-01 14:28 富坚老贼 阅读(160) 评论(0) 推荐(0) 编辑
摘要:import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; void main() => runApp(MyApp()); class MyApp extends StatefulWidget { @override _MyAppState createState() => _MyAppState( 阅读全文
posted @ 2019-12-19 09:49 富坚老贼 阅读(3961) 评论(0) 推荐(1) 编辑
摘要:1.SimpleDialog 简单对话框 class _MyHomePageState extends State<MyHomePage> { dialog() { showDialog(context: context, builder: (BuildContext context){ retur 阅读全文
posted @ 2019-05-28 15:17 富坚老贼 阅读(535) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示