typedef_foundation 0.1.0 copy "typedef_foundation: ^0.1.0" to clipboard
typedef_foundation: ^0.1.0 copied to clipboard

common used typedef

typedef_foundation #

This library expose:

/// typedef for getter
typedef Getter<T> = T Function();

/// typedef for setter
typedef Setter<T> = void Function(T value);

/// typedef for void callback
typedef VoidCallback = void Function();