Icon.from_context


Description:

public Icon.from_context (Context context)

Creates a new instance of a Icon widget using the provided Context.

The icon does not own the context, so make sure it is not freed.

Parameters:

context

The context to use for the icon.