build method

  1. @override
dynamic build(
  1. dynamic context
)

Implementation

@override
Widget build(BuildContext context) {
  return ConstrainedBox(
    constraints: this.mini ? _kMiniSizeConstraints : _kSizeConstraints,
    child: NeumorphicButton(
      padding: EdgeInsets.all(0),
      onPressed: this.onPressed,
      tooltip: this.tooltip,
      style: this.style ??
          NeumorphicTheme.currentTheme(context).appBarTheme.buttonStyle,
      child: this.child,
    ),
  );
}