Answers for "how to change text on button click flutter"

3

text on click flutter

new GestureDetector(
  onTap: () {
    Navigator.pushNamed(context, "myRoute");
  },
  child: new Text("my Title"),
);
Posted by: Guest on May-19-2021

Code answers related to "how to change text on button click flutter"

Browse Popular Code Answers by Language