S constructor

S(
  1. String name, {
  2. required Future<Widget> onTap(
    1. BuildContext context
    ),
})

Implementation

S(this.name, {required this.onTap});