easy_screenshot

Creator: coderz1093

Last updated:

0 purchases

easy_screenshot Image
easy_screenshot Images

Languages

Categories

Add to Cart

Description:

easy screenshot

Easy Screenshot #
Easy Screenshot for Flutter

A flutter package to convert any widget as image


Installation #
Add below line to your pubspec.yaml and run flutter packages get
easy_screenshot: ^latest version
copied to clipboard
Flutter Usage #
Import the package
import 'package:easy_screenshot/easy_screenshot.dart';
copied to clipboard
Add a EasyScreenshotController to control the trigger
EasyScreenshotController _controller = EasyScreenshotController();
copied to clipboard
Create a EasyScreenshot widget in a widget tree
EasyScreenshot(
controller: _controller,
child: const Text(
'Easy Screenshot',
style: TextStyle(fontSize: 40, fontWeight: FontWeight.bold),
),
)
copied to clipboard
Capture a screenshot
File file = await _controller.capture();
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.