You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
dart-lang/sdk#27527 added support for generic typedefs, [which support[(https://github.com/dart-lang/sdk/blob/master/docs/language/informal/generic-function-type-alias.md) type aliases for function types, e.g.:
/// Signature for callbacks that report that an underlying value has changed.////// See also [ValueSetter].typedefValueChanged<T> =voidFunction(T value);
The present issue tracks extending this functionality with the ability to create type aliases for non-function types, so that we can create type aliases such as:
dart-lang/sdk#27527 added support for generic typedefs, [which support[(https://github.com/dart-lang/sdk/blob/master/docs/language/informal/generic-function-type-alias.md) type aliases for function types, e.g.:
A sample usage of that is to provide named callbacks in the Flutter framework:
The present issue tracks extending this functionality with the ability to create type aliases for non-function types, so that we can create type aliases such as:
The text was updated successfully, but these errors were encountered: