Flutter 柱中心对接的颤振多个晶圆厂

Flutter 柱中心对接的颤振多个晶圆厂,flutter,floating-action-button,Flutter,Floating Action Button,我正试图建立一个列,将多个晶圆厂放置在底部的AppBar上,形成一个缺口。 但柱始终从绝对底部的槽口下方开始(y=0)。 如果我在专栏中只使用一个晶圆厂,它就可以工作。但不是多重的。 如何定位柱以槽口中最低的元素开始 我拥有的: 我想要什么(有多个晶圆厂): 请参见DartPad中的示例: import 'package:flutter/material.dart'; final Color darkBlue = Color.fromARGB(255, 18, 32, 47); void

我正试图建立一个列,将多个晶圆厂放置在底部的AppBar上,形成一个缺口。 但柱始终从绝对底部的槽口下方开始(y=0)。 如果我在专栏中只使用一个晶圆厂,它就可以工作。但不是多重的。 如何定位柱以槽口中最低的元素开始

我拥有的:

我想要什么(有多个晶圆厂):

请参见DartPad中的示例:

import 'package:flutter/material.dart';

final Color darkBlue = Color.fromARGB(255, 18, 32, 47);

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData.dark().copyWith(scaffoldBackgroundColor: darkBlue),
      debugShowCheckedModeBanner: false,
      home: Scaffold(
        body: Center(
          child: MyWidget(),
        ),
        floatingActionButton: Column(
          mainAxisSize: MainAxisSize.min,
          mainAxisAlignment: MainAxisAlignment.end,
          children: [
            FloatingActionButton(
              onPressed: () {},
              backgroundColor: Colors.red,
            ),
            FloatingActionButton(
              onPressed: () {},
              backgroundColor: Colors.red,
            )
          ],
        ),
        floatingActionButtonLocation: FloatingActionButtonLocation.centerDocked,
        bottomNavigationBar: BottomAppBar(
          child: Row(
            children: [
              ElevatedButton(
                onPressed: () {},
                child: Text('1'),
              ),
              ElevatedButton(
                onPressed: () {},
                child: Text('2'),
              ),
            ],
          ),
          shape: CircularNotchedRectangle(),
        ),
      ),
    );
  }
}

class MyWidget extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Text('Hello, World!', style: Theme.of(context).textTheme.headline4);
  }
}