CsvButton constructor
const
CsvButton({
- Key? key,
- ButtonStyle? buttonStyle,
- CsvConfiguration? csvConfiguration,
- required Widget child,
- dynamic onDone()?,
- dynamic onJsonReceived()?,
- dynamic onStringReceived(
- String data
Implementation
const CsvButton(
{Key? key,
this.buttonStyle,
this.csvConfiguration,
required this.child,
this.onDone,
this.onJsonReceived,
this.onStringReceived})
: assert(
(onJsonReceived == null && onStringReceived != null) ||
(onJsonReceived != null && onStringReceived == null),
'you can only choose to receive the data as String or as Json, not both'),
super(key: key);