Answers for "How can I display buttons side-by-side in Flutter?"

0

How can I display buttons side-by-side in Flutter?

Row(
          mainAxisAlignment: MainAxisAlignment.spaceAround,
          children: [
            OutlinedButton(
              onPressed: (){}, 
              child: Text('OutlinedButton'),
            ),
            ElevatedButton(
              child: Text('ElevatedButton'),
              onPressed: () {},
            ),
            TextButton(
              onPressed: (){}, 
              child: const Text('TextButton')
            ),
          ],
        ),
Posted by: Guest on August-24-2021

Code answers related to "How can I display buttons side-by-side in Flutter?"

Code answers related to "Dart"

Browse Popular Code Answers by Language