📜  如何将 appBar 上的按钮向左对齐? - 无论代码示例

📅  最后修改于: 2022-03-11 15:00:29.194000             🧑  作者: Mango

代码示例1
import 'package:flutter/material.dart';

class TestPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Row(
          children: [
            Text(
              'Actions Align Left',
            ),
            FlatButton(
              child: Text('FlatButton'),
            )
          ],
        )
      ),
    );
  }
}