Skip to content

Canvas Customization and Image Addition、Selecting importHistoryDemoData After Image Load、Simplified Color Option for Text Editor #71

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

You must be logged in to vote

You can do it like in the example. The only thing you need to change is the part where it creates a transparent background, where you set your background color and size. Below is an example. And I released version 3.0.6 which will resolve an issue when you manually add a layer like we do in the example below.

// Dart imports:
import 'dart:async';
import 'dart:io';
import 'dart:math';
import 'dart:ui' as ui;

// 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';…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@hm21
Comment options

hm21 Jun 10, 2024
Maintainer

Answer selected by iOSyan
Comment options

You must be logged in to vote
2 replies
@hm21
Comment options

hm21 Jun 11, 2024
Maintainer

@iOSyan
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