当前位置:网站首页>Fluent fluent library encapsulation
Fluent fluent library encapsulation
2022-07-02 12:28:00 【Xiao Er Li】
void showWarnToast(String text) {
Fluttertoast.showToast(
msg: text,
toastLength: Toast.LENGTH_LONG,
gravity: ToastGravity.CENTER,
backgroundColor: Colors.red,
textColor: Colors.white);
}
void showToast(String text) {
Fluttertoast.showToast(
msg: text, toastLength: Toast.LENGTH_LONG, textColor: Colors.white);
}
边栏推荐
- Introduction to CPU instruction set
- Natural language processing series (I) -- RNN Foundation
- BOM DOM
- Sse/avx instruction set and API of SIMD
- post请求体内容无法重复获取
- drools决策表的简单使用
- Test shift left and right
- 甜心教主:王心凌
- 上传文件时,服务器报错:IOFileUploadException: Processing of multipart/form-data request failed. 设备上没有空间
- Find the factorial of a positive integer within 16, that is, the class of n (0= < n < =16). Enter 1111 to exit.
猜你喜欢
AAAI 2022 | Peking University & Ali Dharma Institute: pruning and compression of pre training language model based on comparative learning
CDA数据分析——AARRR增长模型的介绍、使用
5g era, learning audio and video development, a super hot audio and video advanced development and learning classic
Experiment of connecting mobile phone hotspot based on Arduino and esp8266 (successful)
ThreadLocal的简单理解
BOM DOM
[C language] convert decimal numbers to binary numbers
Tas (file d'attente prioritaire)
This "little routine" is set on the dough cake of instant noodles. No wonder programmers are always hungry
ES集群中节点与分片的区别
随机推荐
Introduction to CPU instruction set
Maximum profit of jz63 shares
Performance tuning project case
Sort---
ThreadLocal的简单理解
全链路压测
Adding database driver to sqoop of cdh6
WSL 2 will not be installed yet? It's enough to read this article
jenkins 凭证管理
倍增 LCA(最近公共祖先)
arcgis js 4. Add pictures to x map
Differences between nodes and sharding in ES cluster
drools执行完某个规则后终止别的规则执行
Codeforces 771-div2 C (trouble, permutation is not very good)
The blink code based on Arduino and esp8266 runs successfully (including error analysis)
String palindrome hash template question o (1) judge whether the string is palindrome
Sub thread get request
Simple understanding of ThreadLocal
Docker-compose配置Mysql,Redis,MongoDB
Go learning notes - multithreading