Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

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

appflowy4798823df330
diff --git a/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart b/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart
index 96b4dd910c..ddc6819430 100644
--- a/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart
+++ b/app_flowy/packages/flowy_infra_ui/lib/style_widget/button.dart
@@ -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,
),
);