of static method
The data from the closest SfAIAssistViewTheme instance that encloses the given context.
Defaults to SfThemeData.assistThemeData if there is no SfAIAssistViewTheme in the given build context.
Implementation
static SfAIAssistViewThemeData of(BuildContext context) {
final SfAIAssistViewTheme? assistTheme =
context.dependOnInheritedWidgetOfExactType<SfAIAssistViewTheme>();
return assistTheme?.data ?? SfTheme.of(context).assistThemeData;
}