Flutter image_picker pickImage camera buttons - flutter

In my app, I use carImage = await ImagePicker.pickImage(source: ImageSource.camera) to take a picture. This works fine. After taking the picture, two buttons are displayed, Save and Cancel (or something like that, the labels are in Swedish.) After pressing Save, I am returned to my app code.
I would prefer not to have these buttons. I want to return to my code immediately after taking the picture, without having to press a button.
Is this possible? How?
(I cannot use the camera plugin due to its strange behaviour om Samsung Galaxy, a known problem.)

Related

Flutter Video Player appears on second time webpage loads and overlay buttons not functional

Link: Website
Problem: The video on the front page below the video banner does not render until you navigate away from the page and return back. When the video finally appears and plays, the play button does not work. Is there a way to have the video appear on first appearance and have the overlay work as expected.
I am using the latest video_player widget to play the video. Other videos I have implemented work just fine.
When I debug my flutter web application, the application pauses at videoController.play() inside initState(). I continue execution to see if there is was an exception, but nothing new shows in debug console.
One solution I found to work is by setting the volume to 0 then starting the video.
This allows the video to play, but the overlay still not functioning as expected, so I just removed it. For now it works, but still wondering on how the overlay can be implemented.

Is this possible using Flutter streams

I have a Flutter screen is suppose to implement a photo-gallery which has a main big image and a grid view of many small images. When the screen is first displayed it displays the first image in the grid normally and shows it in the big picture and has the other small images at a darker color filter to show they are not the one currently selected. When the user taps on a different one the main photo is changed to a large version of the small image and which ever small image that was previously selected goes dark and the selected image is displayed normally.
This list of images also contain YouTube videos which are indicated by showing a translucent play icon in the middle of them. When the user taps on one of these it plays the video.
To implement this I made a base class called media and inherited the image and YouTube classes from media. I would like to have both classes have the same behavior in terms of highlighting and perform differently in terms of how they display and what happens when you tap on one. So far I can send a message from the images to the main screen to tell the main image to change but I am not sure how to get main screen to send a message to the previously highlighted small image and the to the be highlighted small image in order to change their highlighting.
I tried global keys but I could not get that to work. So, I was thinking of using a stream but I am new to Flutter and Dart so not sure how to get that to work. What can I try next?

Take mulitple pictures using image_picker in flutter

I've got an app up and running in flutter using ImagePicker. At the moment, after the picture is taken and the check mark (for OK) selected, the ImagePicker closes and the app shows my screen to allow taking either another picture or selecting an image from the gallery.
What I would like to do is take a picture, and then after the 'ok', show the camera again, until the user x's out of the camera.
Do I override an event to change this behaviour, and if I do, which event?

Vkontakte Like Button Does Not Show in FireFox

I have an issue where I have a hidden toolbar the drops down with social buttons on it, the VK.com like button being one of them.
It refuses to show itself in FireFox. All other browsers work fine however when the bar pulls down there is nothing there in FF. Does Vkontakte have a force load / render like Facebook and Google do where you can programmatically trigger the render of the like button.
It may be because you have launched video on vkontakte with firefox zoom something other than 1:1. This may result in distorted video player pop-up window size. it is a bitch to fix, since reinstalling firefox and flash player don't do any good.
Launching vk.com videos with different zoom rates, and finally 1:1, seems to fix it.
This may be unrelated to your problem.

How to embed a small camera preview, and then save the whole screenshot image in iphone

I want to put a background image first, and then put a small camera preview view on the top of it.
When user clicked the ok button, a screenshot of the whole merged picture could be reproduced. I remember that some apps in appstore did this, just want to know how to achieve this in code.
Place your background image.. Over that place your imagepicker controller..
take screenshot using UIGetScreenImage