Skip to content

q7w8e9123456/GamaniaView

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

GamaniaView

a custom view library

/* a sample with set function value

static showTestToast(String txt,f(String s)) { Fluttertoast.showToast( msg: txt, toastLength: Toast.LENGTH_LONG, gravity: ToastGravity.BOTTOM, timeInSecForIosWeb: 3, backgroundColor: Colors.black, textColor: Colors.orange, fontSize: 24.0).then((value) => f(txt)); } ToastUtil.showTestToast('aaa', (String a){

});

static showTestToast(String txt,Function a) { Fluttertoast.showToast( msg: txt, toastLength: Toast.LENGTH_LONG, gravity: ToastGravity.BOTTOM, timeInSecForIosWeb: 3, backgroundColor: Colors.black, textColor: Colors.orange, fontSize: 24.0).then((value) => a); } ToastUtil.showTestToast('aa', test() {

}); */

如果flutter命令不能跑,請新增bash_profile並新增以下(/Library是我放flutter的位置請自行修改) export PATH=$PATH:/Library/flutter/bin export PATH=$PATH:/Library/flutter/.pub-cache/bin

flare_flutter

https://ithelp.ithome.com.tw/articles/10233127?sc=rss.qu

android.applicationVariants.all { variant -> variant.outputs.all { output -> def versionName = variant.versionName def date = new Date().format('yyyyMMdd') outputFileName = "teamgoal_v${versionName}_${date}.apk" } }

About

a custom view library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published