mctimerbutton 0.0.2 mctimerbutton: ^0.0.2 copied to clipboard
A Timer Button.
mctimerbutton #
A new flutter plugin project.
Getting Started #
For help getting started with Flutter, view our online documentation.
For help on editing plugin code, view the documentation.
创建对象 #
new MCTimerButton(
callback: this.buttonOnClickSendMessage,
sendtitle: "发送短信",
time: 99,
)
开始倒数计时 #
shTimerButton.state.startTimer();
强制停止 #
shTimerButton.state.stopTimer();