ProgressButton
ProgressButton copied to clipboard
Can you make example project or something?
Because i new in Flutter and here is my problem...
I import the package
import 'package:progress_button/progress_button.dart';
I don't not where i has to copy this:
val progressButton = ProgressButton(
child: Text("Login"),
onPressed: VoidCallback,
buttonState: ButtonState.normal,
backgroundColor: Theme.of(context).primaryColor,
progressColor: Theme.of(context).primaryColor,
);
Is really the word "val" is the correct? not "var"? And the onPressed event "VoidCallback"...the error debug says: "The argument type 'Type' can't be assigned to the parameter type '() → void'."
Can you help me with that? Thanks!
If anyone is interested in having support for these JDKs, please submit a pull request. Note that it is not at all obvious whether update-java-alternatives
which this tool uses would work with those binary builds.