ProgressButton icon indicating copy to clipboard operation
ProgressButton copied to clipboard

Can you make example project or something?

Open xhidnoda opened this issue 5 years ago • 3 comments

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!

xhidnoda avatar Mar 28 '19 15:03 xhidnoda

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.

michaelklishin avatar Aug 14 '19 11:08 michaelklishin