ref property

  1. @Deprecated('Only supported in the deprecated Component, and not Component2. Use createRef or a ref callback instead.')
RefMethod get ref
inherited

DEPRECATED.

Support for String refs will be removed in a future major release when Component is removed.

Instead, use createRef or a ref callback.

Implementation

@Deprecated(
    'Only supported in the deprecated Component, and not Component2. Use createRef or a ref callback instead.')
RefMethod get ref => _ref;
  1. @Deprecated('Only supported in the deprecated Component, and not Component2. Use createRef or a ref callback instead.')
set ref (RefMethod value)
inherited

DEPRECATED.

Support for String refs will be removed in a future major release when Component is removed.

Instead, use createRef or a ref callback.

Implementation

@Deprecated(
    'Only supported in the deprecated Component, and not Component2. Use createRef or a ref callback instead.')
set ref(RefMethod value) => _ref = value;