|
@@ -2,6 +2,7 @@ import 'package:flowy_infra/theme_extension.dart';
|
|
import 'package:flowy_infra/size.dart';
|
|
import 'package:flowy_infra/size.dart';
|
|
import 'package:flowy_infra_ui/style_widget/hover.dart';
|
|
import 'package:flowy_infra_ui/style_widget/hover.dart';
|
|
import 'package:flowy_infra_ui/style_widget/text.dart';
|
|
import 'package:flowy_infra_ui/style_widget/text.dart';
|
|
|
|
+import 'package:flowy_infra_ui/widget/ignore_parent_gesture.dart';
|
|
import 'package:flowy_infra_ui/widget/spacing.dart';
|
|
import 'package:flowy_infra_ui/widget/spacing.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'package:textstyle_extensions/textstyle_extensions.dart';
|
|
import 'package:textstyle_extensions/textstyle_extensions.dart';
|
|
@@ -176,7 +177,12 @@ class FlowyTextButton extends StatelessWidget {
|
|
highlightColor: Colors.transparent,
|
|
highlightColor: Colors.transparent,
|
|
elevation: 0,
|
|
elevation: 0,
|
|
constraints: constraints,
|
|
constraints: constraints,
|
|
- onPressed: onPressed,
|
|
|
|
|
|
+ onPressed: () {},
|
|
|
|
+ child: child,
|
|
|
|
+ );
|
|
|
|
+
|
|
|
|
+ child = IgnoreParentGestureWidget(
|
|
|
|
+ onPress: onPressed,
|
|
child: child,
|
|
child: child,
|
|
);
|
|
);
|
|
|
|
|