NiceSignatureDisplay constructor
const
NiceSignatureDisplay({ - Key? key,
- double width = double.infinity,
- double height = 200,
- Color strokeColor = Colors.black,
- double strokeWidth = 2.0,
- Color backgroundColor = Colors.white,
- String? label,
- void onSave(
- List<List<Offset>> strokes
)?,
- VoidCallback? onClear,
- bool showToolbar = true,
})
Implementation
const NiceSignatureDisplay({
super.key,
this.width = double.infinity,
this.height = 200,
this.strokeColor = Colors.black,
this.strokeWidth = 2.0,
this.backgroundColor = Colors.white,
this.label,
this.onSave,
this.onClear,
this.showToolbar = true,
});