Код: Выделить всё
body: FutureBuilder(
future: _initializeControllerFuture,
builder: (context, snapshot) {
if (snapshot.connectionState == ConnectionState.done) {
// If the Future is complete, display the preview.
return CameraPreview(_controller);
} else {
// Otherwise, display a loading indicator.
return Center(child: CircularProgressIndicator());
}
},
),
Похожая проблема с плагином Cordova: https://github.com/apache/cordova-plugin-camera/ Issues/801
Полагаю, это глюк планшета.
Вопрос: как повернуть картинку с помощью этого плагина?
Для Например, есть ли опция поворота?
Или мы можем добавить метаданные EXIF, чтобы предлагать поворот изображения при отображении?
Подробнее здесь: https://stackoverflow.com/questions/789 ... rce-rotate
Мобильная версия