BasfTextButton.hint constructor

BasfTextButton.hint({
  1. Key? key,
  2. String? text,
  3. Widget? child,
  4. VoidCallback? onPressed,
  5. VoidCallback? onLongPress,
  6. ButtonStyle? style,
  7. Size? size,
  8. bool expanded = false,
  9. AlignmentGeometry? alignment,
})

Implementation

BasfTextButton.hint({
  Key? key,
  String? text,
  Widget? child,
  VoidCallback? onPressed,
  VoidCallback? onLongPress,
  ButtonStyle? style,
  Size? size,
  bool expanded = false,
  AlignmentGeometry? alignment,
}) : super(
        key: key,
        text: text,
        child: child,
        onPressed: onPressed,
        onLongPress: onLongPress,
        style: style == null
            ? ButtonStyles.hintTextButtonStyle
            : style.merge(ButtonStyles.hintTextButtonStyle),
        size: size,
        expanded: expanded,
        alignment: alignment,
      );