renderOption method

Widget renderOption(
  1. dynamic callback,
  2. TypeOCR type,
  3. String title
)

Implementation

Widget renderOption(callback, TypeOCR type, String title) {
  return InkWell(
    onTap: () {
      callback(type);
    },
    child: Column(
      children: [
        const SizedBox(height: 16),
        Text(
          title,
          style: normalStyle,
        ),
      ],
    ),
  );
}