Skip to content

This is a repository created to test the bug in flutter texture widget, which doesn't allow screenshots.

Notifications You must be signed in to change notification settings

premingiet/flutter_texture_screenshot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flutter_texture_screenshot

This is a flutter app to test bug in flutter texture widget. Because of this bug, screenshot of texture widget returns null image.

Getting Started

  1. Run pub get inside the project to fetch all dependencies in pubspec.yaml file
  2. Run the app in an android device and make sure internet is there
  3. Now as app starts, press the middle play button and the video will start playing
  4. Now press the 1st button called "Top Capture" and this should capture the texture widget screenshot
  5. Now try to press the 3rd button called "Mid Capture" and this should capture the color changing animated container widget screenshot
  6. Preview the screenshot in the "Preview Captured Screenshot Container".

Bug here is


Pressing "Top Capture" button, returns null screenshot image of texture widget, but pressing "Mid Capture" button returns the screenshot of animated container widget.

What should actually happen


Pressing "Top Capture" button, should take screenshot of video playing.

About

This is a repository created to test the bug in flutter texture widget, which doesn't allow screenshots.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published