XIconBAnimated.externalState constructor
XIconBAnimated.externalState(- {@required AnimatedIconData icon,
- @required Function onPressed,
- @required IconState iconState,
- Key key,
- Duration duration = const Duration(milliseconds: 300),
- Color splashColor,
- Color hoverColor,
- double size = 24,
- EdgeInsetsGeometry padding = const EdgeInsets.all(18),
- AlignmentGeometry alignment = Alignment.center,
- Color color,
- Color focusColor,
- Color highlightColor,
- Color disabledColor,
- FocusNode focusNode,
- String semanticLabel,
- TextDirection textDirection,
- String firstTooltip,
- String secondTooltip}
)
Implementation
XIconBAnimated.externalState({
@required this.icon,
@required this.onPressed,
@required this.iconState,
Key key,
this.duration = const Duration(milliseconds: 300),
this.splashColor,
this.hoverColor,
this.size = 24,
this.padding = const EdgeInsets.all(18),
this.alignment = Alignment.center,
this.color,
this.focusColor,
this.highlightColor,
this.disabledColor,
this.focusNode,
this.semanticLabel,
this.textDirection,
this.firstTooltip,
this.secondTooltip,
}) : super(key: key);