flutter_image_to_text_button

A Flutter package that lets users pick an image and extract text using ML Kit.

Features

  • Pick image from gallery or camera
  • Extract text using Google ML Kit
  • Easily customizable button UI

Installation

Add this to your pubspec.yaml:

dependencies:
  flutter_image_to_text_button: ^1.0.0


import 'package:flutter_image_to_text_button/flutter_image_to_text_button.dart';

ImageToTextButton(
  onResult: (text) {
    print('Extracted text: $text');
  },
)