BasfTextButton.contained constructor

const BasfTextButton.contained({
  1. Key? key,
  2. String? text,
  3. IconData? leadingIcon,
  4. IconData? trailingIcon,
  5. double? iconSize,
  6. Widget? child,
  7. VoidCallback? onPressed,
  8. VoidCallback? onLongPress,
  9. ButtonStyle? style,
  10. Size? size,
  11. bool expanded = false,
  12. AlignmentGeometry? alignment,
})

Implementation

const BasfTextButton.contained({
  Key? key,
  String? text,
  IconData? leadingIcon,
  IconData? trailingIcon,
  double? iconSize,
  Widget? child,
  VoidCallback? onPressed,
  VoidCallback? onLongPress,
  ButtonStyle? style,
  Size? size,
  bool expanded = false,
  AlignmentGeometry? alignment,
}) : super(
        key: key,
        text: text,
        leadingIcon: leadingIcon,
        trailingIcon: trailingIcon,
        iconSize: iconSize,
        child: child,
        onPressed: onPressed,
        onLongPress: onLongPress,
        style: style,
        size: size,
        expanded: expanded,
        alignment: alignment,
      );