Answers for "flutter use text as button"

2

flutter text button

TextButton(
  onPressed: () {
      // Respond to button press
  },
  child: Text("TEXT BUTTON"),
)
Posted by: Guest on April-20-2021
1

flutter textbutton

TextButton(
              onPressed: (){}, 
              child: const Text('TextButton')
            ),
Posted by: Guest on August-24-2021

Browse Popular Code Answers by Language