首页
Dart
Flutter
Kotlin
java
Android
JavaScript
Python
Kali Linux
PHP
PHP-手册<网站>
SQL
其他
本站功能使用教程
常用网站收录
提问的智慧
写文章
登录
注册
首页
Dart
Flutter
Kotlin
java
Android
JavaScript
Python
Kali Linux
PHP
PHP-手册<网站>
SQL
其他
本站功能使用教程
常用网站收录
提问的智慧
登录
注册
找回密码
Flutter
共93篇
第2页
关于Flutter的文章
排序
更新
浏览
点赞
评论
Flutter computer 函数
系统 API:computer 函数: 我们自己 new 一个 Isoalte 并实现通讯,多少有点麻烦,从封装的角度看其中代码基本是重复的,所以 Google 就提供了一个 API 来干这事:compute 方法 compute 方法是 ...
# flutter
# Isolate
趙哥
2年前
0
983
10
Flutter Path路径常用操作方法
一、前期准备 先来看一段代码。 import 'package:flutter/material.dart'; void main() => runApp( MaterialApp( home: PathExample(), ), ); class PathExample extends StatelessWidget { ...
# flutter
# path
趙哥
2年前
0
966
5
Flutter Getx defaultDialog对话框组件
属性类型描述titleString标题titlePaddingEdgeInsetsGeometry标题内边距onConfirmVoidCallback(Function())确认点击事件onCancelVoidCallback (Function()) 取消 点击事件 onCustomVoidCall...
趙哥
3年前
0
932
10
Flutter Isolate 隔离的使用
创建Isolate 的两种方法: Isolate.spawn[dart里面的] 和 compute()[flutter里面的] 上面的两个函数使用方法和传入的参数方式都一样,一个是dart里面的一个是flutter里面的。 第一个参数:静态方...
# flutter
# Dart
# Isolate
趙哥
2年前
0
926
7
Flutter 滚动控件去除默认阴影
方法 1:以下 ScrollBehavior 将完全移除发光效果:创建一个类继承ScrollBehavior。class MyBehavior extends ScrollBehavior { @override Widget buildViewportChrome( BuildContext context, ...
# flutter
# 滚动组件
趙哥
2年前
0
847
8
Flutter 视频播放器 [chewie ]
video_player: ^2.3.0 chewie: ^1.3.1 用此库必须也引入video_player这个官方的库。 chewie video_player // ChewieController({ // required this.videoPlayerController,//视频播放器控制器...
# flutter
# Flutter组件
# Flutter库
趙哥
2年前
0
839
11
Flutter bitsdojo_window 桌面应用,窗户的设计库
Windows窗口实例 代码实例 import 'package:bitsdojo_window/bitsdojo_window.dart'; void main() { runApp(const MyApp()); // 在下面添加此代码 //当窗口准备好时做 doWhenWindowReady(() { a...
趙哥
3年前
0
788
13
Flutter [image_picke] 调用相机拍照丶拍摄,相册图片丶视频选择。
PUb包地址:https://pub.dev/packages/image_picker 介绍:Flutter 插件,用于从 Android 和 iOS 图像库中选择图像,并使用相机拍摄新照片。 import 'dart:io'; import 'package:flutter/materi...
# flutter
# Flutter库
趙哥
2年前
0
758
16
Flutter Color 转 MaterialColor
MaterialColor createMaterialColor(Color color) { List strengths = <double>[.05]; Map<int, Color> swatch = <int, Color>{}; final int r = color.red, g = color.green...
# flutter
# Color
趙哥
2年前
0
697
10
Flutter PopupMenuButton弹出菜单按钮组件
属性类型描述itemBuilderList<PopupMenuEntry<T>> Function(BuildContext context)在按下按钮以创建要显示在菜单中的项目时调用。initialValueT初始选中值,菜单项的值(如果有),...
# flutter
# Flutter组件
趙哥
3年前
0
666
11
加载更多
在手机上浏览此页面
登录
没有帐号?立即注册
手机号或邮箱
验证码
发送验证码
记住登录
帐号密码登录
登录
用户名/手机号/邮箱
登录密码
记住登录
找回密码
|
免密登录
登录
注册
已有帐号,立即登录
设置用户名
手机号或邮箱
验证码
发送验证码
设置密码
注册
注册即表示同意
用户协议
、
隐私声明