TkfTorch constructor

const TkfTorch({
  1. Key? key,
  2. required String testKey,
  3. required Color backgroundColor,
  4. required Function onTorch,
  5. bool mini = true,
})

Implementation

const TkfTorch(
    {super.key,
    required this.testKey,
    required this.backgroundColor,
    required this.onTorch,
    this.mini = true});