[FIX] non nullable prefix widget in field.
This commit is contained in:
@@ -136,7 +136,7 @@ class _AstromicIconButtonState extends State<AstromicIconButton> {
|
||||
: null,
|
||||
splashFactory: widget.splashFactory,
|
||||
style: (enabled, highlighted) => widget.style!(enabled, highlighted, isLoading).copyWith(
|
||||
borderRadius: widget.isCircular! ? BorderRadiusDirectional.circular(100000000000) : null,
|
||||
borderRadius: widget.isCircular ? BorderRadiusDirectional.circular(100000000000) : null,
|
||||
),
|
||||
child: (enabled, highlighted) => isLoading && widget.loadingContent != null ? widget.loadingContent! : widget.icon(enabled, highlighted),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user