of static method

Returns the current FCircularProgressStyle, or null if there is no ancestor FInheritedCircularProgressStyle.

Implementation

static FCircularProgressStyle? of(BuildContext context) =>
    context.dependOnInheritedWidgetOfExactType<FInheritedCircularProgressStyle>()?.style;