FLUTTER203 Flutter 더 많은 옵션을 위해 스와이프 목록 항목 (플러터), Swipe List Item for more options (Flutter) 질문 Somedays ago I decided to choose an Ui for an app from Pinterest to practice building apps with Flutter but I'm stuck with the Slider which shows an "more" and "delete" button on horizontal drag. Picture on the right. I don't have enough knowledge to use Gestures combined with Animations to create something like this in flutter. Thats why I hope that someone of you can make an example for eve.. 2023. 7. 12. Flutter 플러터에서 환경 변수 설정하기, Setting environment variables in Flutter 질문 예를 들어, Twitch와 같은 API를 위한 클라이언트를 구축하는 경우입니다. Dart CLI 바이너리에서는 일반적인 환경 변수 또는 Dart 정의 변수를 사용할 수 있습니다. 예를 들어, 둘 다 대비책으로 사용하는 경우: main() { String clientId = // dart -dCLIENT_ID='abc bin/example.dart // 이는 애플리케이션에 "컴파일된 것으로 간주됩니다. const String.fromEnvironment('CLIENT_ID') ?? // CLIENT_ID='abc' dart bin/example.dart // 이는 런타임 플래그로 간주됩니다. Platform.environment['CLIENT_ID']; // clientId를 사용합니다. } Flut.. 2023. 7. 12. Flutter 플러터 앱의 빌드 및 버전 번호를 설정하는 방법은 무엇인가요?, How to set build and version number of Flutter app 질문 안드로이드 및 iOS 설정에 들어가지 않고 Flutter 앱의 버전 이름과 버전 코드를 설정하는 방법은 무엇인가요? pubspec.yaml에는 다음과 같이 있습니다. version: 2.0.0 하지만 빌드 번호를 설정할 수 있는 곳을 보지 못합니다. 답변 버전 및 빌드 번호 설정하기 pubspec.yaml에서 버전 이름과 버전 코드 번호를 동시에 업데이트할 수 있습니다. + 기호로 구분하면 됩니다. 예를 들어: version: 2.0.0+8 이는 다음을 의미합니다. 버전 이름은 2.0.0입니다. 버전 코드는 8입니다. 이 내용은 새 프로젝트의 문서에 설명되어 있습니다. (하지만 오래된 프로젝트에서 작업 중이라면 삭제한 것일 수도 있습니다): 다음은 애플리케이션의 버전과 빌드 번호를 정의합니다. 버전.. 2023. 7. 12. Flutter에서 이미지와 파일을 서버에 업로드하는 방법은 무엇인가요?, How to upload images and file to a server in Flutter? 질문 이미지 처리를 위해 웹 서비스를 사용합니다. Postman에서 잘 작동합니다: 이제 Dart에서 flutter를 사용하여 http 요청을 만들고 싶습니다: import 'package:http/http.dart' as http; static ocr(File image) async { var url = '${API_URL}ocr'; var bytes = image.readAsBytesSync(); var response = await http.post( url, headers:{ "Content-Type":"multipart/form-data" } , body: { "lang":"fas" , "image":bytes}, encoding: Encoding.getByName("utf-8") ); retu.. 2023. 6. 24. 이전 1 ··· 13 14 15 16 17 18 19 ··· 51 다음