Answers for "How can I align the buttons on the appBar to the left?"

0

How can I align the buttons on the appBar to the left?

import 'package:flutter/material.dart';

class TestPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Row(
          children: <Widget>[
            Text(
              'Actions Align Left',
            ),
            FlatButton(
              child: Text('FlatButton'),
            )
          ],
        )
      ),
    );
  }
}
Posted by: Guest on April-20-2021

Code answers related to "How can I align the buttons on the appBar to the left?"

Browse Popular Code Answers by Language