build method

  1. @override
Widget build(
  1. BuildContext context
)
override

Build the widget underneath this widget in the tree

Implementation

@override
Widget build(BuildContext context) => CloseButton(
      color: color,
      onPressed: enabled() ? press?.trigger : null,
      style: style,
    );