NikuButton.filled constructor

NikuButton.filled(
  1. Widget child, {
  2. Key? key,
  3. VoidCallback? onPressed,
  4. VoidCallback? onLongPress,
  5. NikuButtonStyle? style,
  6. FocusNode? focusNode,
  7. bool? autofocus,
  8. Clip? clipBehavior,
  9. bool enable = true,
})

Implementation

factory NikuButton.filled(
  Widget child, {
  Key? key,
  VoidCallback? onPressed,
  VoidCallback? onLongPress,
  NikuButtonStyle? style,
  FocusNode? focusNode,
  bool? autofocus,
  Clip? clipBehavior,
  bool enable = true,
}) =>
    NikuButton(
      child,
      type: NikuButtonType.Filled,
      onPressed: onPressed,
      onLongPress: onLongPress,
      style: style,
      focusNode: focusNode,
      clipBehavior: clipBehavior,
      enable: enable,
      key: key,
    );