当前位置:网站首页>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);
}
边栏推荐
- Jenkins voucher management
- Leetcode209 subarray with the smallest length
- 防抖 节流
- Addition, deletion, modification and query of MySQL table (Advanced)
- H5 to app
- Brush questions --- binary tree --2
- 上传文件时,服务器报错:IOFileUploadException: Processing of multipart/form-data request failed. 设备上没有空间
- (C language) octal conversion decimal
- Jenkins user rights management
- Leetcode - < dynamic planning special> Jianzhi offer 19, 49, 60
猜你喜欢

(C language) 3 small Codes: 1+2+3+ · · +100=? And judge whether a year is a leap year or a normal year? And calculate the circumference and area of the circle?

Record the range of data that MySQL update will lock

The blink code based on Arduino and esp8266 runs successfully (including error analysis)

Initial JDBC programming

Deep understanding of P-R curve, ROC and AUC

Discrimination of the interval of dichotomy question brushing record (Luogu question sheet)

甜心教主:王心凌

Fresh, 2022 advanced Android interview must know 100 questions (interview questions + answer analysis)

Docker-compose配置Mysql,Redis,MongoDB

drools中then部分的写法
随机推荐
The blink code based on Arduino and esp8266 runs successfully (including error analysis)
What is the relationship between NFT and metauniverse? How to view the market? The future market trend of NFT
Sparkcontext: error initializing sparkcontext solution
drools执行String规则或执行某个规则文件
mysql索引和事务
Why do programmers have the idea that code can run without moving? Is it poisonous? Or what?
Heap (priority queue)
OpenCV中cv2.VideoWriter_fourcc()函数和cv2.VideoWriter()函数的结合使用
String palindrome hash template question o (1) judge whether the string is palindrome
From scratch, develop a web office suite (3): mouse events
Intel 内部指令 --- AVX和AVX2学习笔记
CDA data analysis -- Introduction and use of aarrr growth model
字符串回文hash 模板题 O(1)判字符串是否回文
Leetcode209 长度最小的子数组
Mysql database foundation
China traffic sign detection data set
Find the factorial of a positive integer within 16, that is, the class of n (0= < n < =16). Enter 1111 to exit.
使用Sqoop把ADS层数据导出到MySQL
Go学习笔记—多线程
In development, why do you find someone who is paid more than you but doesn't write any code?