ghost static method

FBaseButtonStyle Function(FButtonStyle) ghost([
  1. FButtonStyle style(
    1. FButtonStyle
    )?
])

The button's ghost style.

Shorthand for the current context's FButtonStyles.ghost style.

Implementation

static FBaseButtonStyle Function(FButtonStyle) ghost([FButtonStyle Function(FButtonStyle)? style]) =>
    (_) => _Resolve((context) => style?.call(context.theme.buttonStyles.ghost) ?? context.theme.buttonStyles.ghost);