CopyWidget constructor

const CopyWidget({
  1. Key? key,
  2. required String text,
})

Creates a CopyWidget.

The text parameter is required and specifies the text to be copied when the widget is tapped.

Implementation

const CopyWidget({Key? key, required this.text}) : super(key: key);