flutter_device_preview
flutter_device_preview copied to clipboard
isFrameVisible for DevicePreviewData not working
Hi, I'm using the package mainly for automating screenshots, I already specified everything and it seems to be working well, but I tried to specify the data
parameter on the constructor for DevicePreview so that I can hide the device frame, but it doesn't seem to have any effect. Any ideas?
Here is the snippet of the constructor:
runApp(DevicePreview(
enabled: !kReleaseMode,
availableLocales: S.delegate.supportedLocales,
data: const DevicePreviewData(
isFrameVisible: false
),
tools: [
...DevicePreview.defaultTools,
DevicePreviewScreenshot(
onScreenshot: screenshotAsFiles(Directory('/storage/emulated/0/screenshots')),
multipleScreenshots: true,
),
],
builder: (context) => App()));
hey bro i have the same problem plllllz fix it !!! O _ O
this happens for me too, did you find any fix? @juanmanjarres