Answers for "flutter textbutton click events"

3

text on click flutter

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

Browse Popular Code Answers by Language