51
Dev开发社区
首页
文章
问答
工具
搜索
登录
注册
#Flutter
Flutter Text 下面有两个默认的下划线,设置划掉
在style下面的TextStyle增加属性decoration:TextDecoration.none...
代码星球
·
2020-11-02
Flutter
Text
下面
两个
默认
Waiting for another flutter command to release the startup lock...
平时我们在开发flutter过程中,在执行flutterpackagesget命令之后,如果运气不好的,命令没有执行成功的话,我们就会遇到这个错误提示:Waitingforanotherfluttercommandtoreleasethestartuplock...1然后你会发现会发现在任何地方执行flut...
代码星球
·
2020-11-02
Waiting
for
another
flutter
command
flutter elevation
elevation:0.0,//下部的影子,该值越大,影子越清楚,为0时,不会有影子,和RaisedButton是一样的...
代码星球
·
2020-11-02
flutter
elevation
Flutter 环境配置,创建工程
#下载fluttergitclonehttps://github.com/flutter/flutter.git#导入到环境变量exportPATH="$PATH:`pwd`/flutter/bin"#pre-downloaddevelopmentbinariesflutterrecache#打开一个iOS...
代码星球
·
2020-11-02
Flutter
环境
配置
创建
工程
Flutter 简介
1.简单介绍:Flutter是google发布的一个用于创建跨平台、高性能移动应用框架,目前可以使用在Android、iOS、Web乃至桌面应用上。2.前景:Cordova:Apache项目,其实现原理就是内部封装了一个WebView,然后通过web技术编写移动应用,性能很低。Weex或ReactNativ...
代码星球
·
2020-11-02
Flutter
简介
flutter MainAxisAlignment和CrossAxisAlignment
我们只需要记住textDirection就是用来控制水平方向的起始位置和排列方向verticalDirection就是用来控制垂直方向的起始位置和排列方向然后记住MainAxisAlignment(主轴)就是与当前控件方向一致的轴CrossAxisAlignment(交叉轴)就是与当前控件方向垂直的轴&nb...
代码星球
·
2020-11-02
flutter
MainAxisAlignment
CrossAxisAlignment
flutter 局部文字更新
import'package:flutter/material.dart';voidmain(){print("5hahahha");runApp(newMyApp());}classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildContextc...
代码星球
·
2020-11-02
flutter
局部
文字
更新
flutter 长列表
import'package:flutter/foundation.dart';import'package:flutter/material.dart';voidmain(){runApp(newMyApp(items:newList<String>.generate(10000,(i)=&g...
代码星球
·
2020-11-02
flutter
列表
flutter 底部的Taps
import'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildContextcontext){finalti...
代码星球
·
2020-11-02
flutter
底部
Taps
flutter http get请求
import'dart:async';import'dart:convert';import'package:flutter/material.dart';import'package:http/http.dart'ashttp;Future<Post>fetchPost()async{fina...
代码星球
·
2020-11-02
flutter
http
get
请求
Waiting for another flutter command to release the startup lock... 异常解决
进入到你的fluttersdk目录中,然后找到bin/cache/lockfile文件,删除它即可。删除之后你再运行flutterdoctor,你会发现错误已经解决了。 参考:https://blog.csdn.net/qq_26287435/article/details/89537...
代码星球
·
2020-11-02
Waiting
for
another
flutter
command
flutter 显示来自网上的图片
如图 import'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildCon...
代码星球
·
2020-11-02
flutter
显示
来自
网上
图片
flutter 水平滚动的list
import'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildContextcontext){finalti...
代码星球
·
2020-11-02
flutter
水平
滚动
list
flutter 基本List
import'package:flutter/material.dart';voidmain()=>runApp(newMyApp());classMyAppextendsStatelessWidget{@overrideWidgetbuild(BuildContextcontext){finalti...
代码星球
·
2020-11-02
flutter
基本
List
flutter 列表
import'package:flutter/foundation.dart';import'package:flutter/material.dart';voidmain(){runApp(newAnimatedListSample());}classAnimatedL...
代码星球
·
2020-11-02
flutter
列表
首页
上一页
...
2
3
4
5
6
下一页
尾页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他