Skip to content

Difficulty Capturing Updated Layers in Screenshot After Manual Text Replacement #106

Closed Answered by hm21
iOSyan asked this question in Q&A
Discussion options

You must be logged in to vote

You can create a new editor behind the NewPage and import the state history there, which will also allow you to capture it without your users seeing that you updated something. Below is an example where I updated your code above with this function:

// Dart imports:
import 'dart:async';
import 'dart:convert';
import 'dart:io';
import 'dart:math';

// Flutter imports:
import 'package:example/pages/pick_image_example.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';
import 'package:image_picker/image_picker.dart';

// Package imports:
import 'package:pro_image_editor/pro_im…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@iOSyan
Comment options

@hm21
Comment options

@iOSyan
Comment options

@hm21
Comment options

Answer selected by iOSyan
@iOSyan
Comment options

@hm21
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants