[flutter]: fix parent data issue caused by expanded widget

This commit is contained in:
appflowy 2021-10-29 15:20:31 +08:00
parent b8a0a9b84b
commit 4798823df3

View File

@ -82,11 +82,9 @@ class FlowyTextButton extends StatelessWidget {
Widget child = Padding(
padding: padding,
child: Expanded(
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: children,
),
child: Row(
crossAxisAlignment: CrossAxisAlignment.center,
children: children,
),
);