CSnackbar constructor

CSnackbar({
  1. Key? key,
  2. required String content,
  3. Type type = Type.basic,
  4. Position position = Position.bottom,
  5. String? label,
  6. VoidCallback? onPressed,
})

Implementation

CSnackbar({
  super.key,
  required this.content,
  this.type = Type.basic,
  this.position = Position.bottom,
  this.label,
  this.onPressed,
});