Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
424 views
in Technique[技术] by (71.8m points)

android - onPressed is working is Debug/Profile/Release mode but not working in Release apk (Flutter)

onPressed is working is Debug/Profile/Release mode but not working in Release apk.

What's the problem? I cant' understand.

Here is my code:

            child: FlatButton(
              onPressed: () async {
                if (_formKey.currentState.validate()) {
                  Progresshud.showWithStatus('Please wait...');
                  await _signUpOperation();
                } else {
                  wToast('Try again');
                }
              },
              child: Text(
                "Sign Up",
                style: FontStyleTheme().textBoldBlack(18),
              ),
            ),

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...