# flutter_trip **Repository Path**: jsjxsy/flutter_trip ## Basic Information - **Project Name**: flutter_trip - **Description**: 仿携程app采用flutter实现 使用很多技术 webview + http + json + share_preference - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 1 - **Created**: 2024-06-04 - **Last Updated**: 2025-03-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # flutter_trip A new Flutter project. ## Getting Started This project is a starting point for a Flutter application. A few resources to get you started if this is your first Flutter project: - [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab) - [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook) For help getting started with Flutter development, view the [online documentation](https://docs.flutter.dev/), which offers tutorials, samples, guidance on mobile development, and a full API reference. 1. BottomNavigationItem 中的title已经过时,label取代 2. flutter_swiper过期, flutter_swiper_view取代 3. Flutter 错误RenderBox was not laid out:(https://www.jianshu.com/p/f72997840a2d) 4. http 5. Future FutureBuild 6. 待学习任务:getx + android 与flutter 通讯没有学习 + hero动画 7. [VERBOSE-2:dart_vm_initializer.cc(41)] Unhandled Exception: Converting object to an encodable object failed: Instance of 'HomeModel' 缺少toJson方法 8. 返回的接口有中文字符-需要特殊处理,flutter: [{icon: https://www.devio.org/io/flutter_app/img/ln_ticket.png, title: 攻略·景点, convert.Utf8Decoder utf8decoder = convert.Utf8Decoder(); var jsonResponse = convert.jsonDecode(utf8decoder.convert(response.bodyBytes)) as Map; 9. If you are not the author of the PlatformView, make sure to call `GeneratedPluginRegistrant.register` 使用PlatformView导致的 10. required 和 ?导致不能显示view 估计报错了 11. webview h5 默认的back按钮不知道怎么处理返回 12. CERTIFICATE_VERIFY_FAILED: certificate has expired(handshake.cc:393)) 证书过期导致访问失败