Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use painter as a separte page ? #12

Closed
ghost opened this issue Apr 27, 2019 · 2 comments
Closed

How to use painter as a separte page ? #12

ghost opened this issue Apr 27, 2019 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@ghost
Copy link

ghost commented Apr 27, 2019

No description provided.

@ghost
Copy link
Author

ghost commented Apr 27, 2019

Compiler message:                                                       
file:///home/chandra/flutter/.pub-cache/hosted/pub.dartlang.org/painter-0.3.1/lib/painter.dart:167:20: Error: A value of type 'Future<Image>' can't be assigned to a variable of type 
'Image'.
 - 'Future' is from 'dart:async'.                                       
 - 'Image' is from 'dart:ui'.                                           
Try changing the type of the left hand side, or casting the right hand side to 'Image'.
    return picture.toImage(width, height);                              
                   ^                                                    
Compiler failed on /home/chandra/Projects/aircheq/aircheq/lib/main.dart 
Running Gradle task 'assembleDebug'...                                  
Running Gradle task 'assembleDebug'... Done                         5.5s
Gradle task assembleDebug failed with exit code 1

@EP-u-NW
Copy link
Collaborator

EP-u-NW commented Apr 20, 2020

Duplicate of #8.

@EP-u-NW EP-u-NW closed this as completed Apr 20, 2020
@EP-u-NW EP-u-NW added the duplicate This issue or pull request already exists label Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

0 participants