video

www.bilibili.com/video/BV1aQ…

preface

There are a lot of new friends in the group, and one question is whether Flutter is a reliable app.

Also, how does GetX perform in the field, and if there are any big holes.

I have a product helber on the shelf, you can intuitively experience.

  • The official helberapp.com/

  • Apple store apps.apple.com/app/id15333…

  • Google store play.google.com/store/apps/…

The business of the app is to socialize by location.

Although it is available globally, it is primarily in North America and the server is based in Seattle.

Welcome to discuss ducafecat and Helber

Components used

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^ 1.0.2
get: ^ 4.3.6
dio: ^ 4.0.0
# permissions
permission_handler: ^ 8.1.2
# app information
package_info: ^ 2.0.2
# Local storage
shared_preferences: ^ mid-atlantic moved
# refresh load
pull_to_refresh: ^ 2.0.0
# toast prompt
flutter_easyloading: ^ 3.0.3
# Bottom pop-up box
modal_bottom_sheet: ^ 2.0.0
# input box
pinput: ^ 1.2.0
# Fit screen
flutter_screenutil: ^ 5.0.0 + 2
# Network pictures
cached_network_image: ^ 3.1.0
# Media selection
wechat_assets_picker: ^ 6.0.4
wechat_camera_picker: ^ against 2.4.1
# the slider
carousel_slider: ^ 4.0.0
# svg
flutter_svg: ^ 0.22.0
# the waterfall flow
waterfall_flow: ^ 3.0.1
# encryption
crypto: ^ 3.0.1
# OSS
aliyun_oss_flutter: ^ 1.0.5
# Video image compression
video_compress: ^ 3.1.0
flutter_image_compress: ^ 1.1.0
# image preview
photo_view: ^ 0.12.0
# Video playback
chewie: ^ 1.2.2
video_player: ^ 2.2.5
# option
# flutter_cupertino_datetime_picker: ^ 2.0.1
flutter_picker: ^ 2.0.2
# Time conversion
intl: ^ 0.17.0
# locate
geolocator: ^ 7.6.2
# map
google_maps_flutter: ^ 2.0.11
google_maps_cluster_manager: ^ 3.0.0 + 1
# cache
flutter_cache_manager: ^ 3.1.2
# webkit
webview_flutter: ^ 2.0.12
# to open the url
url_launcher: ^ 6.0.12
# upgrade
r_upgrade: ^ 0.3.5
version: ^ 2.0.0
# app opens the URI
uni_links: ^ 0.5.1
# IM
tencent_im_sdk_plugin: ^ 3.5.0
# Tencent Push
tpns_flutter_plugin:
  git:
    url: https://gitee.com/ducafecat/TPNS-Flutter-Plugin
# google sign
google_sign_in: ^ 5.1.1
# apple sign
sign_in_with_apple: ^ 3.2.0
# facebook sign
flutter_facebook_auth: ^ 3.5.2
# sentry
sentry_flutter: ^ the 6.0.1
# Header background
# draggable_home: ^ 1.0.2
# third party login button
auth_buttons: ^ + 4 1.0.1
# the countdown
timer_count_down: ^ 2.2.0
Copy the code

Project size

Pages: 40 ~ 50

business

  • Social information
  • Points system
  • Commodity Exchange
  • Business side

Technical point

  • geolocation
  • A long list of
  • Take pictures and videos
  • Ali oss
  • Image cache
  • Preview picture
  • Shrinkage figure
  • Tencent chat
  • Tencent news push TPNS
  • Safety pin
  • Data offline
  • Log in to Google, Apple and Facebook

The performance test

  • Frame rate

  • The performance of the layer

  • CPU

conclusion

My partner completed all the business code I constructed in the front end of this project.

No special optimization, basically relying on the framework, no optimization for card IO, multiple pull requests, list data cache, etc. (running traffic first).

Even so, we can see that the performance is still ok. The average frame number is 59/ SEC, and the CPU and memory are also ok.

Individual animation card frame number, to good performance, or to start their own hands, this is the latter thing.

I was gonna make a video, but for various reasons, I’ll find some time later.

The project hasn’t been officially launched yet. It’s scheduled for two weeks.

Welcome to discuss ducafecat and Note Helber, even better if you live in North America.


The elder brother of the © cat

  • ducafecat.tech/

  • github.com/ducafecat

  • Ducafecat WeChat group