CustomSnackBar constructor

const CustomSnackBar({
  1. Key? key,
  2. Color? backgroundColor = Colors.yellow,
  3. Widget content = const Text('Copied to your clipboard !', style: TextStyle(color: Colors.black)),
})

Implementation

const CustomSnackBar({
  super.key,
  super.backgroundColor = Colors.yellow,
  super.content = const Text(
    'Copied to your clipboard !',
    style: TextStyle(
      color: Colors.black,
    ),
  ),
});