FPasswordFieldIconBuilder<T> typedef

FPasswordFieldIconBuilder<T> = Widget Function(BuildContext context, T style, ValueNotifier<bool> obscure, Set<WidgetState> states)

A callback for building a field's icon.

style is the field's style. obscure controls the visibility of the password. states is the current states of the widget.

See FTextField.prefixBuilder and FTextField.suffixBuilder.

Implementation

typedef FPasswordFieldIconBuilder<T> =
    Widget Function(BuildContext context, T style, ValueNotifier<bool> obscure, Set<WidgetState> states);