├── 我.png
├── flutter_for_weibo
├── ios
│ ├── Flutter
│ │ ├── .last_build_id
│ │ ├── Debug.xcconfig
│ │ ├── Release.xcconfig
│ │ └── AppFrameworkInfo.plist
│ ├── Runner
│ │ ├── Runner-Bridging-Header.h
│ │ ├── Assets.xcassets
│ │ │ ├── LaunchImage.imageset
│ │ │ │ ├── LaunchImage.png
│ │ │ │ ├── LaunchImage@2x.png
│ │ │ │ ├── LaunchImage@3x.png
│ │ │ │ ├── README.md
│ │ │ │ └── Contents.json
│ │ │ └── AppIcon.appiconset
│ │ │ │ ├── Icon-App-20x20@1x.png
│ │ │ │ ├── Icon-App-20x20@2x.png
│ │ │ │ ├── Icon-App-20x20@3x.png
│ │ │ │ ├── Icon-App-29x29@1x.png
│ │ │ │ ├── Icon-App-29x29@2x.png
│ │ │ │ ├── Icon-App-29x29@3x.png
│ │ │ │ ├── Icon-App-40x40@1x.png
│ │ │ │ ├── Icon-App-40x40@2x.png
│ │ │ │ ├── Icon-App-40x40@3x.png
│ │ │ │ ├── Icon-App-60x60@2x.png
│ │ │ │ ├── Icon-App-60x60@3x.png
│ │ │ │ ├── Icon-App-76x76@1x.png
│ │ │ │ ├── Icon-App-76x76@2x.png
│ │ │ │ ├── Icon-App-1024x1024@1x.png
│ │ │ │ ├── Icon-App-83.5x83.5@2x.png
│ │ │ │ └── Contents.json
│ │ ├── AppDelegate.swift
│ │ ├── Base.lproj
│ │ │ ├── Main.storyboard
│ │ │ └── LaunchScreen.storyboard
│ │ └── Info.plist
│ ├── Runner.xcodeproj
│ │ ├── project.xcworkspace
│ │ │ └── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ └── xcschemes
│ │ │ └── Runner.xcscheme
│ ├── Runner.xcworkspace
│ │ ├── contents.xcworkspacedata
│ │ └── xcshareddata
│ │ │ └── IDEWorkspaceChecks.plist
│ ├── .gitignore
│ ├── Podfile.lock
│ └── Podfile
├── lib
│ ├── images
│ │ ├── 1.png
│ │ ├── 2.png
│ │ ├── 3.png
│ │ ├── 4.png
│ │ ├── 5.png
│ │ ├── ad.png
│ │ ├── at.png
│ │ ├── bag.png
│ │ ├── give.png
│ │ ├── hand.png
│ │ ├── line.png
│ │ ├── logo.png
│ │ ├── pic.png
│ │ ├── rss.png
│ │ ├── star.png
│ │ ├── zan.png
│ │ ├── zan1.png
│ │ ├── zero.png
│ │ ├── card1.png
│ │ ├── card2.png
│ │ ├── card3.png
│ │ ├── center.png
│ │ ├── check.png
│ │ ├── check1.png
│ │ ├── check2.png
│ │ ├── check3.png
│ │ ├── comment.png
│ │ ├── heart.png
│ │ ├── history.png
│ │ ├── leijun.png
│ │ ├── mayun.png
│ │ ├── mobile.png
│ │ ├── msg_add.png
│ │ ├── pujing.png
│ │ ├── qianbao.png
│ │ ├── school.png
│ │ ├── spring.png
│ │ ├── story.png
│ │ ├── biergaici.png
│ │ ├── caixukun.png
│ │ ├── fansstory.png
│ │ ├── liudehua.png
│ │ ├── mine_scan.png
│ │ ├── supercar.png
│ │ ├── telangpu.png
│ │ ├── menu_weibo.webp
│ │ ├── mine_setting.png
│ │ ├── supertopic.png
│ │ ├── tabbar_home.png
│ │ ├── wanglihong.png
│ │ ├── mine_addfriend.png
│ │ ├── btn_back_black_n.webp
│ │ ├── message_btn_more.webp
│ │ ├── mini_small_logo.png
│ │ ├── popover_icon_live.png
│ │ ├── tabbar_discover.png
│ │ ├── tabbar_profile.webp
│ │ ├── video_icon_album.png
│ │ ├── messagescenter_at.webp
│ │ ├── share_group_qqzone.webp
│ │ ├── story_redpack_head.webp
│ │ ├── timeline_image_gif.png
│ │ ├── timeline_image_live.png
│ │ ├── toolbar_icon_addhi.png
│ │ ├── toolbar_icon_album.webp
│ │ ├── messagescenter_good.webp
│ │ ├── messagescenter_groups.webp
│ │ ├── share_group_wxfirend.png
│ │ ├── story_play_icon_wechat.png
│ │ ├── tabbar_message_center.webp
│ │ ├── timeline_image_replay.png
│ │ ├── timeline_image_wares.png
│ │ ├── toolbar_icon_addfriend.png
│ │ ├── video_list_edit_wrong.png
│ │ ├── wbshop_focus_user_bg.webp
│ │ ├── welcome_android_logo.webp
│ │ ├── welcome_android_slogan.png
│ │ ├── claw_navigationbar_more.png
│ │ ├── messagescenter_comments.png
│ │ ├── photoalbum_ic_menu_top.webp
│ │ ├── settings_guide_at_dot.9.png
│ │ ├── tabbar_compose_idea_neo.png
│ │ ├── tabbar_compose_live_neo.png
│ │ ├── tabbar_compose_movie_neo.png
│ │ ├── tabbar_compose_music_neo.png
│ │ ├── tabbar_compose_video_neo.png
│ │ ├── tabbar_home_highlighted.webp
│ │ ├── tabbar_video_highlighted.png
│ │ ├── timeline_image_longimage.png
│ │ ├── toolbar_icon_addtogroup.png
│ │ ├── video_list_edit_loading.png
│ │ ├── wblive_icon_wechat_light.png
│ │ ├── artical_detail_icon_like.webp
│ │ ├── artical_detail_icon_liked.webp
│ │ ├── artical_detail_icon_repost.png
│ │ ├── composer_video_icon_album.png
│ │ ├── messagescenter_messagebox.webp
│ │ ├── more_icon_zhifubao_friend.webp
│ │ ├── morecover_icon_membership.webp
│ │ ├── navigationbar_icon_qrcode_2.png
│ │ ├── navigationbar_search_voice.webp
│ │ ├── photoalbum_ic_menu_save_pic.png
│ │ ├── photoalbum_sticker_delete.png
│ │ ├── tabbar_compose_capture_neo.png
│ │ ├── tabbar_compose_comment_neo.png
│ │ ├── tabbar_compose_friends_neo.png
│ │ ├── tabbar_compose_friends_qa.webp
│ │ ├── tabbar_compose_location_neo.png
│ │ ├── tabbar_compose_miaopai_neo.png
│ │ ├── tabbar_compose_picture_neo.png
│ │ ├── tabbar_compose_shopping_neo.png
│ │ ├── tabbar_compose_topic_neo.webp
│ │ ├── tabbar_discover_highlighted.png
│ │ ├── tabbar_profile_highlighted.webp
│ │ ├── userinfo_membership_level6.webp
│ │ ├── video_manage_notify_close.png
│ │ ├── videotab_watch_icon_control.png
│ │ ├── videotab_watch_icon_history.png
│ │ ├── artical_detail_icon_comment.webp
│ │ ├── messagescenter_subscription.webp
│ │ ├── navigationbar_arrow_down_new.webp
│ │ ├── navigationbar_search_voice_hl.png
│ │ ├── tabbar_compose_redpacket_neo.png
│ │ ├── tabbar_compose_slideshow_neo.png
│ │ ├── toolbar_icon_addtogroup_added.png
│ │ ├── video_interact_icon_download.png
│ │ ├── wblive_showcase_ic_recommend.png
│ │ ├── medialive_showcase_ic_recommend.webp
│ │ ├── navigationbar_icon_add_friends.png
│ │ ├── wblive_icon_wechat_moment_light.png
│ │ ├── message_search_liaotianjilu_weibo.webp
│ │ ├── navigationbar_icon_inform_setting.webp
│ │ ├── tabbar_message_center_highlighted.webp
│ │ ├── message_search_liaotianjilu_picture.webp
│ │ ├── message_search_liaotianjilu_wenjian.webp
│ │ ├── navigationbar_icon_newchat_clearaway.png
│ │ ├── navigationbar_icon_qrcode_highlight.png
│ │ ├── photoalbum_ic_menu_show_original_pic.png
│ │ ├── photoalbum_sticker_delete_highlighted.png
│ │ ├── photoalbum_timeline_line_video_play.webp
│ │ ├── message_search_liaotianjilu_weibo_light.png
│ │ ├── userinfo_me_relationship_indicator_plus.png
│ │ ├── userinfo_me_relationship_indicator_tick.png
│ │ ├── message_search_liaotianjilu_picture_light.png
│ │ ├── message_search_liaotianjilu_wenjian__light.png
│ │ ├── navigationbar_icon_newchat_clearaway_press.png
│ │ ├── photoalbum_ic_menu_topic_essence_normal.webp
│ │ ├── userinfo_me_relationship_indicator_meyou.webp
│ │ └── photoalbum_ic_menu_topic_essence_highlight.webp
│ ├── routes
│ │ ├── application.dart
│ │ ├── router_handlers.dart
│ │ ├── navigation_util.dart
│ │ ├── routes.dart
│ │ ├── find
│ │ │ └── FindRoute.dart
│ │ ├── video
│ │ │ └── VideoRoute.dart
│ │ ├── login
│ │ │ └── LoginRoute.dart
│ │ ├── bottomTabbar
│ │ │ ├── BottomTabbarRoute.dart
│ │ │ └── MainRoute.dart
│ │ ├── mine
│ │ │ └── MineRoute.dart
│ │ └── message
│ │ │ └── MessageRoute.dart
│ ├── common
│ │ ├── utils
│ │ │ ├── WBParser.dart
│ │ │ └── CacheUtil.dart
│ │ ├── network
│ │ │ ├── HttpCacheConfig.dart
│ │ │ ├── HttpCacheInterceptor.dart
│ │ │ ├── Network.dart
│ │ │ └── HttpService.dart
│ │ └── Global.dart
│ ├── main.dart
│ ├── widgets
│ │ ├── Browser.dart
│ │ ├── Tabbar.dart
│ │ ├── CustomNavBar.dart
│ │ └── WBMediaWidget.dart
│ ├── items
│ │ ├── MessageItem.dart
│ │ ├── weiboItem.dart
│ │ ├── WBCheckItem.dart
│ │ ├── MineFooterItem.dart
│ │ ├── VisitHistoryItem.dart
│ │ ├── PublicWelfareItem.dart
│ │ ├── SuperTopicItem.dart
│ │ ├── CategoryItem.dart
│ │ └── MineHeaderItem.dart
│ └── models
│ │ └── WeiBoCard.dart
├── android
│ ├── gradle.properties
│ ├── .gitignore
│ ├── app
│ │ ├── src
│ │ │ ├── main
│ │ │ │ ├── res
│ │ │ │ │ ├── mipmap-hdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── mipmap-mdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── mipmap-xhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── mipmap-xxhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── mipmap-xxxhdpi
│ │ │ │ │ │ └── ic_launcher.png
│ │ │ │ │ ├── values
│ │ │ │ │ │ └── styles.xml
│ │ │ │ │ └── drawable
│ │ │ │ │ │ └── launch_background.xml
│ │ │ │ ├── kotlin
│ │ │ │ │ └── com
│ │ │ │ │ │ └── example
│ │ │ │ │ │ └── flutter_for_weibo
│ │ │ │ │ │ └── MainActivity.kt
│ │ │ │ └── AndroidManifest.xml
│ │ │ ├── debug
│ │ │ │ └── AndroidManifest.xml
│ │ │ └── profile
│ │ │ │ └── AndroidManifest.xml
│ │ └── build.gradle
│ ├── gradle
│ │ └── wrapper
│ │ │ └── gradle-wrapper.properties
│ ├── settings.gradle
│ └── build.gradle
├── .metadata
├── .vscode
│ ├── launch.json
│ └── settings.json
├── README.md
├── .gitignore
├── test
│ └── widget_test.dart
├── pubspec.yaml
└── pubspec.lock
├── 消息.png
├── WX20200712-224750@2x.png
├── WX20200712-224932@2x.png
└── README.md
/我.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/我.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Flutter/.last_build_id:
--------------------------------------------------------------------------------
1 | 9ab5889f32a0655a55f0e5d3675ea094
--------------------------------------------------------------------------------
/消息.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/消息.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Runner-Bridging-Header.h:
--------------------------------------------------------------------------------
1 | #import "GeneratedPluginRegistrant.h"
--------------------------------------------------------------------------------
/WX20200712-224750@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/WX20200712-224750@2x.png
--------------------------------------------------------------------------------
/WX20200712-224932@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/WX20200712-224932@2x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/1.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/2.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/3.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/4.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/4.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/5.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/5.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/ad.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/ad.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/at.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/at.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/bag.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/bag.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/give.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/give.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/hand.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/hand.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/line.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/line.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/logo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/pic.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/rss.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/rss.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/star.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/star.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/zan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/zan.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/zan1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/zan1.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/zero.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/zero.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/routes/application.dart:
--------------------------------------------------------------------------------
1 | import 'package:fluro/fluro.dart';
2 | class Application {
3 | static Router router;
4 | }
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/card1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/card1.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/card2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/card2.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/card3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/card3.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/center.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/center.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/check.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/check.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/check1.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/check1.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/check2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/check2.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/check3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/check3.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/comment.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/comment.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/heart.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/heart.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/history.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/history.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/leijun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/leijun.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/mayun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/mayun.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/mobile.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/mobile.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/msg_add.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/msg_add.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/pujing.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/pujing.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/qianbao.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/qianbao.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/school.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/school.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/spring.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/spring.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/story.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/story.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/biergaici.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/biergaici.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/caixukun.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/caixukun.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/fansstory.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/fansstory.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/liudehua.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/liudehua.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/mine_scan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/mine_scan.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/supercar.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/supercar.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/telangpu.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/telangpu.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/menu_weibo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/menu_weibo.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/mine_setting.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/mine_setting.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/supertopic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/supertopic.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_home.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_home.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/wanglihong.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/wanglihong.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Flutter/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/mine_addfriend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/mine_addfriend.png
--------------------------------------------------------------------------------
/flutter_for_weibo/android/gradle.properties:
--------------------------------------------------------------------------------
1 | org.gradle.jvmargs=-Xmx1536M
2 | android.enableR8=true
3 | android.useAndroidX=true
4 | android.enableJetifier=true
5 |
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Flutter/Release.xcconfig:
--------------------------------------------------------------------------------
1 | #include "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
2 | #include "Generated.xcconfig"
3 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/btn_back_black_n.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/btn_back_black_n.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/message_btn_more.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/message_btn_more.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/mini_small_logo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/mini_small_logo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/popover_icon_live.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/popover_icon_live.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_discover.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_discover.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_profile.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_profile.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/video_icon_album.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/video_icon_album.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/messagescenter_at.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/messagescenter_at.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/share_group_qqzone.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/share_group_qqzone.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/story_redpack_head.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/story_redpack_head.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/timeline_image_gif.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/timeline_image_gif.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/timeline_image_live.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/timeline_image_live.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/toolbar_icon_addhi.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/toolbar_icon_addhi.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/toolbar_icon_album.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/toolbar_icon_album.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/messagescenter_good.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/messagescenter_good.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/messagescenter_groups.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/messagescenter_groups.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/share_group_wxfirend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/share_group_wxfirend.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/story_play_icon_wechat.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/story_play_icon_wechat.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_message_center.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_message_center.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/timeline_image_replay.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/timeline_image_replay.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/timeline_image_wares.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/timeline_image_wares.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/toolbar_icon_addfriend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/toolbar_icon_addfriend.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/video_list_edit_wrong.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/video_list_edit_wrong.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/wbshop_focus_user_bg.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/wbshop_focus_user_bg.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/welcome_android_logo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/welcome_android_logo.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/welcome_android_slogan.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/welcome_android_slogan.png
--------------------------------------------------------------------------------
/flutter_for_weibo/android/.gitignore:
--------------------------------------------------------------------------------
1 | gradle-wrapper.jar
2 | /.gradle
3 | /captures/
4 | /gradlew
5 | /gradlew.bat
6 | /local.properties
7 | GeneratedPluginRegistrant.java
8 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/claw_navigationbar_more.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/claw_navigationbar_more.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/messagescenter_comments.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/messagescenter_comments.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/photoalbum_ic_menu_top.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/photoalbum_ic_menu_top.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/settings_guide_at_dot.9.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/settings_guide_at_dot.9.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_idea_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_idea_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_live_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_live_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_movie_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_movie_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_music_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_music_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_video_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_video_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_home_highlighted.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_home_highlighted.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_video_highlighted.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_video_highlighted.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/timeline_image_longimage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/timeline_image_longimage.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/toolbar_icon_addtogroup.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/toolbar_icon_addtogroup.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/video_list_edit_loading.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/video_list_edit_loading.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/wblive_icon_wechat_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/wblive_icon_wechat_light.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/artical_detail_icon_like.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/artical_detail_icon_like.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/artical_detail_icon_liked.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/artical_detail_icon_liked.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/artical_detail_icon_repost.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/artical_detail_icon_repost.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/composer_video_icon_album.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/composer_video_icon_album.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/messagescenter_messagebox.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/messagescenter_messagebox.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/more_icon_zhifubao_friend.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/more_icon_zhifubao_friend.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/morecover_icon_membership.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/morecover_icon_membership.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/navigationbar_icon_qrcode_2.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/navigationbar_icon_qrcode_2.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/navigationbar_search_voice.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/navigationbar_search_voice.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/photoalbum_ic_menu_save_pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/photoalbum_ic_menu_save_pic.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/photoalbum_sticker_delete.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/photoalbum_sticker_delete.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_capture_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_capture_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_comment_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_comment_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_friends_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_friends_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_friends_qa.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_friends_qa.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_location_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_location_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_miaopai_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_miaopai_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_picture_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_picture_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_shopping_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_shopping_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_topic_neo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_topic_neo.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_discover_highlighted.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_discover_highlighted.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_profile_highlighted.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_profile_highlighted.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/userinfo_membership_level6.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/userinfo_membership_level6.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/video_manage_notify_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/video_manage_notify_close.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/videotab_watch_icon_control.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/videotab_watch_icon_control.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/videotab_watch_icon_history.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/videotab_watch_icon_history.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/artical_detail_icon_comment.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/artical_detail_icon_comment.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/messagescenter_subscription.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/messagescenter_subscription.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/navigationbar_arrow_down_new.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/navigationbar_arrow_down_new.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/navigationbar_search_voice_hl.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/navigationbar_search_voice_hl.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_redpacket_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_redpacket_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_compose_slideshow_neo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_compose_slideshow_neo.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/toolbar_icon_addtogroup_added.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/toolbar_icon_addtogroup_added.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/video_interact_icon_download.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/video_interact_icon_download.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/wblive_showcase_ic_recommend.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/wblive_showcase_ic_recommend.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/medialive_showcase_ic_recommend.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/medialive_showcase_ic_recommend.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/navigationbar_icon_add_friends.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/navigationbar_icon_add_friends.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/wblive_icon_wechat_moment_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/wblive_icon_wechat_moment_light.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/message_search_liaotianjilu_weibo.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/message_search_liaotianjilu_weibo.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/navigationbar_icon_inform_setting.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/navigationbar_icon_inform_setting.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/tabbar_message_center_highlighted.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/tabbar_message_center_highlighted.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/message_search_liaotianjilu_picture.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/message_search_liaotianjilu_picture.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/message_search_liaotianjilu_wenjian.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/message_search_liaotianjilu_wenjian.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/navigationbar_icon_newchat_clearaway.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/navigationbar_icon_newchat_clearaway.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/navigationbar_icon_qrcode_highlight.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/navigationbar_icon_qrcode_highlight.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/photoalbum_ic_menu_show_original_pic.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/photoalbum_ic_menu_show_original_pic.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/photoalbum_sticker_delete_highlighted.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/photoalbum_sticker_delete_highlighted.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/photoalbum_timeline_line_video_play.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/photoalbum_timeline_line_video_play.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/message_search_liaotianjilu_weibo_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/message_search_liaotianjilu_weibo_light.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/userinfo_me_relationship_indicator_plus.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/userinfo_me_relationship_indicator_plus.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/userinfo_me_relationship_indicator_tick.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/userinfo_me_relationship_indicator_tick.png
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/message_search_liaotianjilu_picture_light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/message_search_liaotianjilu_picture_light.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/message_search_liaotianjilu_wenjian__light.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/message_search_liaotianjilu_wenjian__light.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/navigationbar_icon_newchat_clearaway_press.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/navigationbar_icon_newchat_clearaway_press.png
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/photoalbum_ic_menu_topic_essence_normal.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/photoalbum_ic_menu_topic_essence_normal.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/userinfo_me_relationship_indicator_meyou.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/userinfo_me_relationship_indicator_meyou.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/images/photoalbum_ic_menu_topic_essence_highlight.webp:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/lib/images/photoalbum_ic_menu_topic_essence_highlight.webp
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/common/utils/WBParser.dart:
--------------------------------------------------------------------------------
1 | //解析微博数据
2 |
3 |
4 | class WBParser{
5 |
6 | WBParser(this.wbString);
7 |
8 | String wbString;
9 |
10 | startParse(){
11 |
12 | }
13 |
14 |
15 | }
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/sea777777/flutter_for_weibo/HEAD/flutter_for_weibo/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/common/network/HttpCacheConfig.dart:
--------------------------------------------------------------------------------
1 |
2 |
3 | class HttpCacheConfig{
4 |
5 | //是否开启缓存
6 | bool get enable => true;
7 |
8 | //最大缓存数量
9 | int get maxCount => 500;
10 |
11 | //最大缓存天数
12 | int get maxDay => 3;
13 |
14 | }
--------------------------------------------------------------------------------
/flutter_for_weibo/android/gradle/wrapper/gradle-wrapper.properties:
--------------------------------------------------------------------------------
1 | #Fri Jun 23 08:50:38 CEST 2017
2 | distributionBase=GRADLE_USER_HOME
3 | distributionPath=wrapper/dists
4 | zipStoreBase=GRADLE_USER_HOME
5 | zipStorePath=wrapper/dists
6 | distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.2-all.zip
7 |
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/flutter_for_weibo/.metadata:
--------------------------------------------------------------------------------
1 | # This file tracks properties of this Flutter project.
2 | # Used by Flutter tool to assess capabilities and perform upgrades etc.
3 | #
4 | # This file should be version controlled and should not be manually edited.
5 |
6 | version:
7 | revision: f139b11009aeb8ed2a3a3aa8b0066e482709dde3
8 | channel: stable
9 |
10 | project_type: app
11 |
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/debug/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/profile/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md:
--------------------------------------------------------------------------------
1 | # Launch Screen Assets
2 |
3 | You can customize the launch screen with your own desired assets by replacing the image files in this directory.
4 |
5 | You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images.
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/routes/router_handlers.dart:
--------------------------------------------------------------------------------
1 | import 'package:fluro/fluro.dart';
2 |
3 | import 'bottomTabbar/BottomTabbarRoute.dart';
4 | import 'Login/LoginRoute.dart';
5 |
6 |
7 | // 登录页
8 | Handler loginHandler = Handler(handlerFunc: (context, parameters) {
9 | return LoginRoute();
10 | },);
11 |
12 | // 登录页
13 | Handler homeHandler = Handler(handlerFunc: (context, parameters) {
14 | return BottomTabbarRoute();
15 | },);
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/main/res/values/styles.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
8 |
9 |
--------------------------------------------------------------------------------
/flutter_for_weibo/.vscode/launch.json:
--------------------------------------------------------------------------------
1 | {
2 | // Use IntelliSense to learn about possible attributes.
3 | // Hover to view descriptions of existing attributes.
4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5 | "version": "0.2.0",
6 | "configurations": [
7 | {
8 | "name": "Flutter",
9 | "request": "launch",
10 | "type": "dart"
11 | }
12 | ]
13 | }
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/routes/navigation_util.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'application.dart';
4 | import 'routes.dart';
5 | class NavigatorUtil {
6 |
7 | // 首页
8 | static void goHomePage(BuildContext context) {
9 | Application.router.navigateTo(context, Routes.home);
10 | }
11 |
12 | // 登录页
13 | static void goLoginPage(BuildContext context) {
14 | Application.router.navigateTo(context, Routes.login);
15 | }
16 | }
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | import UIKit
2 | import Flutter
3 |
4 | @UIApplicationMain
5 | @objc class AppDelegate: FlutterAppDelegate {
6 | override func application(
7 | _ application: UIApplication,
8 | didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
9 | ) -> Bool {
10 | GeneratedPluginRegistrant.register(with: self)
11 | return super.application(application, didFinishLaunchingWithOptions: launchOptions)
12 | }
13 | }
14 |
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/main/res/drawable/launch_background.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
12 |
13 |
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/main/kotlin/com/example/flutter_for_weibo/MainActivity.kt:
--------------------------------------------------------------------------------
1 | package com.example.flutter_for_weibo
2 |
3 | import androidx.annotation.NonNull;
4 | import io.flutter.embedding.android.FlutterActivity
5 | import io.flutter.embedding.engine.FlutterEngine
6 | import io.flutter.plugins.GeneratedPluginRegistrant
7 |
8 | class MainActivity: FlutterActivity() {
9 | override fun configureFlutterEngine(@NonNull flutterEngine: FlutterEngine) {
10 | GeneratedPluginRegistrant.registerWith(flutterEngine);
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "images" : [
3 | {
4 | "idiom" : "universal",
5 | "filename" : "LaunchImage.png",
6 | "scale" : "1x"
7 | },
8 | {
9 | "idiom" : "universal",
10 | "filename" : "LaunchImage@2x.png",
11 | "scale" : "2x"
12 | },
13 | {
14 | "idiom" : "universal",
15 | "filename" : "LaunchImage@3x.png",
16 | "scale" : "3x"
17 | }
18 | ],
19 | "info" : {
20 | "version" : 1,
21 | "author" : "xcode"
22 | }
23 | }
24 |
--------------------------------------------------------------------------------
/flutter_for_weibo/android/settings.gradle:
--------------------------------------------------------------------------------
1 | include ':app'
2 |
3 | def flutterProjectRoot = rootProject.projectDir.parentFile.toPath()
4 |
5 | def plugins = new Properties()
6 | def pluginsFile = new File(flutterProjectRoot.toFile(), '.flutter-plugins')
7 | if (pluginsFile.exists()) {
8 | pluginsFile.withReader('UTF-8') { reader -> plugins.load(reader) }
9 | }
10 |
11 | plugins.each { name, path ->
12 | def pluginDirectory = flutterProjectRoot.resolve(path).resolve('android').toFile()
13 | include ":$name"
14 | project(":$name").projectDir = pluginDirectory
15 | }
16 |
--------------------------------------------------------------------------------
/flutter_for_weibo/README.md:
--------------------------------------------------------------------------------
1 | # flutter_for_weibo
2 |
3 | 基于Flutter编写的微博app,支持微博真实账号登录,查看热门微博、科技、游戏、股市等众多板块
4 |
5 |
6 | ## Getting Started
7 |
8 | This project is a starting point for a Flutter application.
9 |
10 | A few resources to get you started if this is your first Flutter project:
11 |
12 | - [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab)
13 | - [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook)
14 |
15 | For help getting started with Flutter, view our
16 | [online documentation](https://flutter.dev/docs), which offers tutorials,
17 | samples, guidance on mobile development, and a full API reference.
18 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/main.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:flutter_for_weibo/routes/application.dart';
4 | import 'package:fluro/fluro.dart';
5 | import 'package:flutter_for_weibo/routes/routes.dart';
6 |
7 | void main() {
8 | Router router = Router();
9 | Routes.configureRoutes(router);
10 | Application.router = router;
11 |
12 | runApp(MyApp());
13 | }
14 |
15 | class MyApp extends StatelessWidget {
16 | @override
17 | Widget build(BuildContext context) {
18 | return MaterialApp(
19 | theme: ThemeData(
20 | primarySwatch: Colors.blue,
21 | ),
22 | onGenerateRoute: Application.router.generator,
23 | );
24 | }
25 | }
26 |
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/.gitignore:
--------------------------------------------------------------------------------
1 | *.mode1v3
2 | *.mode2v3
3 | *.moved-aside
4 | *.pbxuser
5 | *.perspectivev3
6 | **/*sync/
7 | .sconsign.dblite
8 | .tags*
9 | **/.vagrant/
10 | **/DerivedData/
11 | Icon?
12 | **/Pods/
13 | **/.symlinks/
14 | profile
15 | xcuserdata
16 | **/.generated/
17 | Flutter/App.framework
18 | Flutter/Flutter.framework
19 | Flutter/Flutter.podspec
20 | Flutter/Generated.xcconfig
21 | Flutter/app.flx
22 | Flutter/app.zip
23 | Flutter/flutter_assets/
24 | Flutter/flutter_export_environment.sh
25 | ServiceDefinitions.json
26 | Runner/GeneratedPluginRegistrant.*
27 |
28 | # Exceptions to above rules.
29 | !default.mode1v3
30 | !default.mode2v3
31 | !default.pbxuser
32 | !default.perspectivev3
33 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/routes/routes.dart:
--------------------------------------------------------------------------------
1 | import 'package:fluro/fluro.dart';
2 | import 'router_handlers.dart';
3 |
4 | class Routes {
5 | // 跟路由 登录页
6 | static String root = '/';
7 | // 首页
8 | static String home = '/home';
9 | // 登录页
10 | static String login = '/login';
11 |
12 |
13 | // 注册路由
14 | static void configureRoutes(Router router) {
15 | // 未找到路由
16 | router.notFoundHandler = Handler(handlerFunc: (context, parameters) {
17 | print('route not found');
18 | });
19 | // 根目录是登录页
20 | router.define(root, handler: loginHandler);
21 | // 首页
22 | router.define(home, handler: homeHandler);
23 | // 登录页
24 | router.define(login, handler: loginHandler);
25 |
26 | }
27 | }
28 |
--------------------------------------------------------------------------------
/flutter_for_weibo/android/build.gradle:
--------------------------------------------------------------------------------
1 | buildscript {
2 | ext.kotlin_version = '1.3.50'
3 | repositories {
4 | google()
5 | jcenter()
6 | }
7 |
8 | dependencies {
9 | classpath 'com.android.tools.build:gradle:3.5.0'
10 | classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
11 | }
12 | }
13 |
14 | allprojects {
15 | repositories {
16 | google()
17 | jcenter()
18 | }
19 | }
20 |
21 | rootProject.buildDir = '../build'
22 | subprojects {
23 | project.buildDir = "${rootProject.buildDir}/${project.name}"
24 | }
25 | subprojects {
26 | project.evaluationDependsOn(':app')
27 | }
28 |
29 | task clean(type: Delete) {
30 | delete rootProject.buildDir
31 | }
32 |
--------------------------------------------------------------------------------
/flutter_for_weibo/.gitignore:
--------------------------------------------------------------------------------
1 | # Miscellaneous
2 | *.class
3 | *.log
4 | *.pyc
5 | *.swp
6 | .DS_Store
7 | .atom/
8 | .buildlog/
9 | .history
10 | .svn/
11 |
12 | # IntelliJ related
13 | *.iml
14 | *.ipr
15 | *.iws
16 | .idea/
17 |
18 | # The .vscode folder contains launch configuration and tasks you configure in
19 | # VS Code which you may wish to be included in version control, so this line
20 | # is commented out by default.
21 | #.vscode/
22 |
23 | # Flutter/Dart/Pub related
24 | **/doc/api/
25 | .dart_tool/
26 | .flutter-plugins
27 | .flutter-plugins-dependencies
28 | .packages
29 | .pub-cache/
30 | .pub/
31 | /build/
32 |
33 | # Web related
34 | lib/generated_plugin_registrant.dart
35 |
36 | # Exceptions to above rules.
37 | !/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages
38 |
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Flutter/AppFrameworkInfo.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | App
9 | CFBundleIdentifier
10 | io.flutter.flutter.app
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | App
15 | CFBundlePackageType
16 | FMWK
17 | CFBundleShortVersionString
18 | 1.0
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | 1.0
23 | MinimumOSVersion
24 | 8.0
25 |
26 |
27 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/common/Global.dart:
--------------------------------------------------------------------------------
1 | import './network/HttpCacheConfig.dart';
2 | import 'package:shared_preferences/shared_preferences.dart';
3 | import './network/HttpCacheInterceptor.dart';
4 |
5 | class Global {
6 | static SharedPreferences prefs;
7 |
8 | //缓存配置
9 | static HttpCacheConfig cacheConfig;
10 |
11 | //拦截器,负责缓存response
12 | static HttpCacheInterceptor httpInterceptor;
13 |
14 | // 是否为release版
15 | static bool get isRelease => bool.fromEnvironment("dart.vm.product");
16 |
17 | //初始化全局信息,会在APP启动时执行
18 | static Future init() async {
19 |
20 | prefs = await SharedPreferences.getInstance();
21 | cacheConfig = HttpCacheConfig();
22 | httpInterceptor = HttpCacheInterceptor();
23 |
24 | }
25 |
26 | //微博授权登录相关
27 | static String weiboAppKey = '1207543647';
28 | static String weiboAppSecret = '9e80543f2e9546c76e06d3fd9d1ef9eb';
29 | static String weiboDisplay = 'mobile';
30 |
31 |
32 | }
33 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # flutter_for_weibo
2 | 一个基于flutter开发的微博
3 |
4 | - 仅供学习使用。
5 | - 接口都是真实的微博接口。
6 | - 能够获取登录用户真实信息。
7 | - 支持多个频道:热门、科技、数码、游戏等。
8 | - 视频页、发现页尚未完成,希望有志之士加入我们一起完成。
9 |
10 | > 常见问题:
11 | - 请使用VSCode开发,如果您使用其他ide,不确定是否兼容。
12 | - 请基于ios的模拟器来运行。
13 |
14 | > 下载完项目请运行:
15 | - flutter packages get
16 | - flutter run
17 | - 如果运行报错,请删除flutter/bin/cache/lockfile 文件,重新运行
18 | - 如果还是报错,请使出杀手锏:重启电脑
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/routes/find/FindRoute.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/cupertino.dart';
2 | import 'package:flutter/material.dart';
3 |
4 | class FindRoute extends StatefulWidget {
5 | const FindRoute({Key key}) : super(key: key);
6 |
7 | @override
8 | _FindRoute createState() => _FindRoute();
9 | }
10 |
11 | class _FindRoute extends State {
12 | @override
13 | void initState() {
14 | super.initState();
15 | }
16 |
17 | @override
18 | void dispose() {
19 | super.dispose();
20 | }
21 |
22 | @override
23 | Widget build(BuildContext context) {
24 | return Scaffold(
25 | appBar: CupertinoNavigationBar(
26 | automaticallyImplyLeading: false,
27 | automaticallyImplyMiddle: true,
28 | middle: Text('发现'),
29 | padding: EdgeInsetsDirectional.only(start: 5, end: 0, top: 0, bottom: 0),
30 | backgroundColor: Color(0xFFF8F8F8),
31 | ),
32 | body: Center(
33 | child: Text(
34 | '敬请期待!',
35 | style: TextStyle(fontSize: 18),
36 | ),
37 | ));
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/widgets/Browser.dart:
--------------------------------------------------------------------------------
1 | import 'dart:ffi';
2 |
3 | import 'package:flutter/material.dart';
4 | import 'package:webview_flutter/webview_flutter.dart';
5 |
6 | //定义拦截URL回调函数
7 | typedef Void FilterURLCallback(String url);
8 |
9 | class Browser extends StatelessWidget {
10 | const Browser({Key key, this.url, this.title, this.filterURLCallback})
11 | : super(key: key);
12 |
13 | final String url;
14 | final String title;
15 | final FilterURLCallback filterURLCallback;
16 |
17 | //拦截的url
18 | // fun void filterUrl(String url);
19 | @override
20 | Widget build(BuildContext context) {
21 | return Scaffold(
22 | appBar: AppBar(
23 | title: Text(title),
24 | ),
25 | body: WebView(
26 | initialUrl: url,
27 | javascriptMode: JavascriptMode.unrestricted,
28 | //页面刚开始加载
29 | onPageStarted: (String url) {
30 | // do something
31 | },
32 | //页面已经加载完
33 | onPageFinished: (String url) {
34 | //把url传给调用者
35 | if (this.filterURLCallback != null) {
36 | this.filterURLCallback(url);
37 | }
38 | },
39 | ),
40 | );
41 | }
42 | }
43 |
--------------------------------------------------------------------------------
/flutter_for_weibo/test/widget_test.dart:
--------------------------------------------------------------------------------
1 | // This is a basic Flutter widget test.
2 | //
3 | // To perform an interaction with a widget in your test, use the WidgetTester
4 | // utility that Flutter provides. For example, you can send tap and scroll
5 | // gestures. You can also use WidgetTester to find child widgets in the widget
6 | // tree, read text, and verify that the values of widget properties are correct.
7 |
8 | import 'package:flutter/material.dart';
9 | import 'package:flutter_test/flutter_test.dart';
10 |
11 | import 'package:flutter_for_weibo/main.dart';
12 |
13 | void main() {
14 | testWidgets('Counter increments smoke test', (WidgetTester tester) async {
15 | // Build our app and trigger a frame.
16 | await tester.pumpWidget(MyApp());
17 |
18 | // Verify that our counter starts at 0.
19 | expect(find.text('0'), findsOneWidget);
20 | expect(find.text('1'), findsNothing);
21 |
22 | // Tap the '+' icon and trigger a frame.
23 | await tester.tap(find.byIcon(Icons.add));
24 | await tester.pump();
25 |
26 | // Verify that our counter has incremented.
27 | expect(find.text('0'), findsNothing);
28 | expect(find.text('1'), findsOneWidget);
29 | });
30 | }
31 |
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Base.lproj/Main.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/src/main/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
3 |
8 |
12 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
30 |
33 |
34 |
35 |
--------------------------------------------------------------------------------
/flutter_for_weibo/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | "fileheader.configObj": {
3 |
4 | "createFileTime": true,
5 | "language": {
6 | "languagetest": {
7 | "head": "/$$",
8 | "middle": " $ @",
9 | "end": " $/"
10 | }
11 | },
12 | "autoAdd": true,
13 | "autoAddLine": 100,
14 | "autoAlready": true,
15 | "annotationStr": {
16 | "head": "/*",
17 | "middle": " * @",
18 | "end": " */",
19 | "use": false
20 | },
21 | "headInsertLine": {
22 | "php": 2
23 | },
24 | "beforeAnnotation": {
25 | "文件后缀": "该文件后缀的头部注释之前添加某些内容"
26 | },
27 | "afterAnnotation": {
28 | "文件后缀": "该文件后缀的头部注释之后添加某些内容"
29 | },
30 | "specialOptions": {
31 | "特殊字段": "自定义比如LastEditTime/LastEditors"
32 | },
33 | "switch": {
34 | "newlineAddAnnotation": true
35 | },
36 | "prohibitAutoAdd": [
37 | "json"
38 | ],
39 | "prohibitItemAutoAdd": [
40 | "项目的全称, 整个项目禁止自动添加头部注释, 可以使用快捷键添加"
41 | ],
42 | "moveCursor": true,
43 | "dateFormat": "YYYY-MM-DD HH:mm:ss",
44 | "atSymbol": "@",
45 | "atSymbolObj": {
46 | "文件后缀": "修改它的@符号"
47 | },
48 | "colon": ": ",
49 | "colonObj": {
50 | "文件后缀": "修改它的冒号"
51 | },
52 | "filePathColon": "路径分隔符替换",
53 | "showErrorMessage": false,
54 | "wideSame": false,
55 | "wideNum": 13,
56 | "CheckFileChange": false,
57 | "createHeader": true,
58 | "useWorker": false,
59 | "designAddHead": false
60 | },
61 | "fileheader.cursorMode": {
62 |
63 | }
64 | }
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/common/utils/CacheUtil.dart:
--------------------------------------------------------------------------------
1 | import 'package:shared_preferences/shared_preferences.dart';
2 |
3 |
4 | class CacheUtil {
5 |
6 | static SharedPreferences _sharePref;
7 | static CacheUtil _instance;
8 | factory CacheUtil() => _shareInstance();
9 | static CacheUtil get sharedInstance => _shareInstance();
10 |
11 | CacheUtil._intinal() {
12 | init();
13 | }
14 |
15 |
16 | static _shareInstance(){
17 | if(_instance == null){
18 | _instance = new CacheUtil._intinal();
19 | }
20 | return _instance;
21 | }
22 |
23 | static Future init() async {
24 | _sharePref = await SharedPreferences.getInstance();
25 | }
26 |
27 |
28 |
29 | void sotreAuthorizationCode (String code){
30 | if(code != null && code.length > 0){
31 | _sharePref.setString('authorization_code', code);
32 | }
33 | }
34 |
35 | String getAuthorizationCode (){
36 | String code = _sharePref.getString('authorization_code');
37 | return code == null ? '' : code;
38 | }
39 |
40 |
41 | void sotreAccessToken (String token){
42 | if(token != null && token.length > 0){
43 | _sharePref.setString('access_token', token);
44 | }
45 | }
46 |
47 | String getAccessToken (){
48 | String token = _sharePref.getString('access_token');
49 | return token == null ? '' : token;
50 | }
51 |
52 | void storeUid (String uid){
53 | if(uid != null && uid.length > 0){
54 | _sharePref.setString('uid', uid);
55 | }
56 | }
57 |
58 | String getUid (){
59 | String uid = _sharePref.getString('uid');
60 | return uid == null ? '' : uid;
61 | }
62 |
63 |
64 | void storeExpires (int expires){
65 | _sharePref.setInt('expires', expires);
66 | }
67 |
68 | int getExpires (){
69 | int exp = _sharePref.getInt('expires');
70 | return exp != null ? exp : 0;
71 | }
72 | }
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | flutter_for_weibo
15 | CFBundlePackageType
16 | APPL
17 | CFBundleShortVersionString
18 | $(FLUTTER_BUILD_NAME)
19 | CFBundleSignature
20 | ????
21 | CFBundleVersion
22 | $(FLUTTER_BUILD_NUMBER)
23 | LSRequiresIPhoneOS
24 |
25 | UILaunchStoryboardName
26 | LaunchScreen
27 | UIMainStoryboardFile
28 | Main
29 | UISupportedInterfaceOrientations
30 |
31 | UIInterfaceOrientationPortrait
32 | UIInterfaceOrientationLandscapeLeft
33 | UIInterfaceOrientationLandscapeRight
34 |
35 | UISupportedInterfaceOrientations~ipad
36 |
37 | UIInterfaceOrientationPortrait
38 | UIInterfaceOrientationPortraitUpsideDown
39 | UIInterfaceOrientationLandscapeLeft
40 | UIInterfaceOrientationLandscapeRight
41 |
42 | UIViewControllerBasedStatusBarAppearance
43 |
44 | io.flutter.embedded_views_preview
45 |
46 |
47 |
48 | NSAppTransportSecurity
49 |
50 | NSAllowsArbitraryLoads
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Podfile.lock:
--------------------------------------------------------------------------------
1 | PODS:
2 | - Flutter (1.0.0)
3 | - path_provider_linux (0.0.1):
4 | - Flutter
5 | - shared_preferences (0.0.1):
6 | - Flutter
7 | - shared_preferences_linux (0.0.1):
8 | - Flutter
9 | - shared_preferences_macos (0.0.1):
10 | - Flutter
11 | - shared_preferences_web (0.0.1):
12 | - Flutter
13 | - webview_flutter (0.0.1):
14 | - Flutter
15 |
16 | DEPENDENCIES:
17 | - Flutter (from `Flutter`)
18 | - path_provider_linux (from `.symlinks/plugins/path_provider_linux/ios`)
19 | - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`)
20 | - shared_preferences_linux (from `.symlinks/plugins/shared_preferences_linux/ios`)
21 | - shared_preferences_macos (from `.symlinks/plugins/shared_preferences_macos/ios`)
22 | - shared_preferences_web (from `.symlinks/plugins/shared_preferences_web/ios`)
23 | - webview_flutter (from `.symlinks/plugins/webview_flutter/ios`)
24 |
25 | EXTERNAL SOURCES:
26 | Flutter:
27 | :path: Flutter
28 | path_provider_linux:
29 | :path: ".symlinks/plugins/path_provider_linux/ios"
30 | shared_preferences:
31 | :path: ".symlinks/plugins/shared_preferences/ios"
32 | shared_preferences_linux:
33 | :path: ".symlinks/plugins/shared_preferences_linux/ios"
34 | shared_preferences_macos:
35 | :path: ".symlinks/plugins/shared_preferences_macos/ios"
36 | shared_preferences_web:
37 | :path: ".symlinks/plugins/shared_preferences_web/ios"
38 | webview_flutter:
39 | :path: ".symlinks/plugins/webview_flutter/ios"
40 |
41 | SPEC CHECKSUMS:
42 | Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
43 | path_provider_linux: 4d630dc393e1f20364f3e3b4a2ff41d9674a84e4
44 | shared_preferences: af6bfa751691cdc24be3045c43ec037377ada40d
45 | shared_preferences_linux: afefbfe8d921e207f01ede8b60373d9e3b566b78
46 | shared_preferences_macos: f3f29b71ccbb56bf40c9dd6396c9acf15e214087
47 | shared_preferences_web: 141cce0c3ed1a1c5bf2a0e44f52d31eeb66e5ea9
48 | webview_flutter: d2b4d6c66968ad042ad94cbb791f5b72b4678a96
49 |
50 | PODFILE CHECKSUM: 1b66dae606f75376c5f2135a8290850eeb09ae83
51 |
52 | COCOAPODS: 1.9.1
53 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/widgets/Tabbar.dart:
--------------------------------------------------------------------------------
1 | // 自定义方式的TabController
2 |
3 | // class Widget_TabBar_Userdefined_State_Page
4 | // extends State
5 | // with SingleTickerProviderStateMixin {
6 |
7 | // var controller;
8 | // var tabs = [
9 | // Tab(text: "Tab1",),
10 | // Tab(text: "Tab2",),
11 | // Tab(text: "Tab3",),
12 | // Tab(text: "Tab4",),
13 | // Tab(text: "Tab5",),
14 | // Tab(text: "Tab6",),
15 | // Tab(text: "Tab7",),
16 | // Tab(text: "Tab8",),
17 | // Tab(
18 | // text: "Tab9",
19 | // icon: Icon(Icons.phone),
20 | // ),
21 | // ];
22 |
23 | // @override
24 | // void initState() {
25 | // controller = TabController(
26 | // length: tabs.length,
27 | // vsync: this, //动画效果的异步处理,默认格式,背下来即可
28 | // );
29 | // }
30 |
31 | // @override
32 | // Widget build(BuildContext context) {
33 | // return MaterialApp(
34 | // home: Scaffold(
35 | // appBar: AppBar(
36 | // title: TabBar(
37 | // tabs: tabs,
38 | // controller: controller,
39 | // //配置控制器
40 | // isScrollable: true,
41 | // indicatorColor: Color(0xffff0000),
42 | // indicatorWeight: 1,
43 | // indicatorSize: TabBarIndicatorSize.tab,
44 | // indicatorPadding: EdgeInsets.only(bottom: 10.0),
45 | // labelPadding: EdgeInsets.only(left: 20),
46 | // labelColor: Color(0xff333333),
47 | // labelStyle: TextStyle(
48 | // fontSize: 15.0,
49 | // ),
50 | // unselectedLabelColor: Color(0xffffffff),
51 | // unselectedLabelStyle: TextStyle(
52 | // fontSize: 12.0,
53 | // ),
54 | // ),
55 | // ),
56 | // body: TabBarView(
57 | // controller: controller, //配置控制器
58 | // children: tabs
59 | // .map((Tab tab) =>
60 | // Container(child: Center(child: Text(tab.text),),))
61 | // .toList()),
62 | // ),
63 | // );
64 | // }
65 |
66 | // //当整个页面dispose时,记得把控制器也dispose掉,释放内存
67 | // @override
68 | // void dispose() {
69 | // controller.dispose();
70 | // super.dispose();
71 | // }
72 | // }
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/widgets/CustomNavBar.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | import 'package:flutter/cupertino.dart';
4 | import 'package:flutter/material.dart';
5 |
6 | // ignore: must_be_immutable
7 | //自定义导航器
8 | class CustomNavBar extends StatelessWidget {
9 | final String title;
10 | final Widget body;
11 | final Color appBarBackgroundColor;
12 | final double elevation; //底部阴影 ,默认0
13 | final List actions; //Widgets to display in a row after the [title] widget.
14 | final Widget leading; //Widget to place at the start of the navigation bar. Normally a back button for a normal page or a cancel button for full page dialogs.
15 | final Widget trailing; //Widget to place at the end of the navigation bar. Normally additional actions taken on the page such as a search or edit function.
16 | Color backgroundColor;
17 | Widget middle;//中间自定义控件
18 |
19 | CustomNavBar(
20 | {this.title = '',
21 | this.appBarBackgroundColor,
22 | this.elevation = 0,
23 | this.actions,
24 | this.leading,
25 | this.backgroundColor,
26 | this.trailing,
27 | this.body,
28 | this.middle}
29 | );
30 |
31 | @override
32 | Widget build(BuildContext context) {
33 | return Scaffold(
34 | appBar: _customAppBar(context),
35 | backgroundColor: Colors.white,
36 | body: body,
37 | );
38 | }
39 |
40 | Widget _customAppBar(BuildContext context) {
41 |
42 | //如果是ios 平台
43 | if (Platform.isIOS) {
44 | return CupertinoNavigationBar(
45 | automaticallyImplyLeading: false,
46 | automaticallyImplyMiddle: true,
47 | middle: middle == null ? Text(title) : middle,
48 | padding: EdgeInsetsDirectional.only(start: 0, end: 10, top: 0, bottom: 0),
49 | backgroundColor: this.backgroundColor,
50 | trailing: this.trailing,
51 | leading: this.leading,
52 | actionsForegroundColor: Colors.grey,
53 | );
54 | } else {
55 | //如果是安卓平台
56 | return PreferredSize(
57 | preferredSize: Size.fromHeight(44),
58 | child: AppBar(
59 | title: Text(title),
60 | backgroundColor: appBarBackgroundColor,
61 | elevation: elevation,
62 | actions: actions,
63 | leading: leading,
64 | ),
65 | );
66 | }
67 | }
68 | }
69 |
--------------------------------------------------------------------------------
/flutter_for_weibo/android/app/build.gradle:
--------------------------------------------------------------------------------
1 | def localProperties = new Properties()
2 | def localPropertiesFile = rootProject.file('local.properties')
3 | if (localPropertiesFile.exists()) {
4 | localPropertiesFile.withReader('UTF-8') { reader ->
5 | localProperties.load(reader)
6 | }
7 | }
8 |
9 | def flutterRoot = localProperties.getProperty('flutter.sdk')
10 | if (flutterRoot == null) {
11 | throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
12 | }
13 |
14 | def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
15 | if (flutterVersionCode == null) {
16 | flutterVersionCode = '1'
17 | }
18 |
19 | def flutterVersionName = localProperties.getProperty('flutter.versionName')
20 | if (flutterVersionName == null) {
21 | flutterVersionName = '1.0'
22 | }
23 |
24 | apply plugin: 'com.android.application'
25 | apply plugin: 'kotlin-android'
26 | apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"
27 |
28 | android {
29 | compileSdkVersion 28
30 |
31 | sourceSets {
32 | main.java.srcDirs += 'src/main/kotlin'
33 | }
34 |
35 | lintOptions {
36 | disable 'InvalidPackage'
37 | }
38 |
39 | defaultConfig {
40 | // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
41 | applicationId "com.example.flutter_for_weibo"
42 | minSdkVersion 16
43 | targetSdkVersion 28
44 | versionCode flutterVersionCode.toInteger()
45 | versionName flutterVersionName
46 | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
47 | }
48 |
49 | buildTypes {
50 | release {
51 | // TODO: Add your own signing config for the release build.
52 | // Signing with the debug keys for now, so `flutter run --release` works.
53 | signingConfig signingConfigs.debug
54 | }
55 | }
56 | }
57 |
58 | flutter {
59 | source '../..'
60 | }
61 |
62 | dependencies {
63 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
64 | testImplementation 'junit:junit:4.12'
65 | androidTestImplementation 'androidx.test:runner:1.1.1'
66 | androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
67 | }
68 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/routes/video/VideoRoute.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/cupertino.dart';
2 | import 'package:flutter/material.dart';
3 |
4 |
5 | class VideoRoute extends StatefulWidget {
6 | const VideoRoute({Key key}) : super(key: key);
7 |
8 | @override
9 | _VideoRoute createState() => _VideoRoute();
10 | }
11 |
12 | class _VideoRoute extends State{
13 |
14 | @override
15 | void initState() {
16 | super.initState();
17 | }
18 |
19 | @override
20 | void dispose() {
21 | super.dispose();
22 | }
23 |
24 | @override
25 | Widget build(BuildContext context) {
26 | return Scaffold(
27 | appBar: CupertinoNavigationBar(
28 | automaticallyImplyLeading: false,
29 | automaticallyImplyMiddle: true,
30 | middle: Container(
31 | padding: EdgeInsets.fromLTRB(60, 0, 60, 0),
32 | child: Row(
33 | mainAxisAlignment: MainAxisAlignment.spaceAround,
34 | mainAxisSize: MainAxisSize.max,
35 | crossAxisAlignment: CrossAxisAlignment.center,
36 | verticalDirection: VerticalDirection.down,
37 | children: [
38 | Text(
39 | '推荐',
40 | style: TextStyle(
41 | fontSize: 20,
42 | color: Color(0xFFE78734),
43 | fontWeight: FontWeight.w500
44 | ),
45 | ),
46 | Text(
47 | '热门',
48 | style: TextStyle(
49 | fontSize: 17,
50 | color: Color(0xFF292929),
51 | fontWeight: FontWeight.w400
52 | ),
53 | ),
54 | Text(
55 | '小视频',
56 | style: TextStyle(
57 | fontSize: 17,
58 | color: Color(0xFF292929),
59 | fontWeight: FontWeight.w400
60 | ),
61 | ),
62 | ],
63 | ),
64 | ),
65 | backgroundColor: Color(0xFFF8F8F8),
66 | ),
67 | body: Center(
68 | child: Text(
69 | '敬请期待!',
70 | style: TextStyle(fontSize: 18),
71 | ),
72 | )
73 | );
74 | }
75 |
76 |
77 | }
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/routes/login/LoginRoute.dart:
--------------------------------------------------------------------------------
1 | // 登录页
2 | import 'package:flutter/material.dart';
3 | import 'package:flutter_for_weibo/common/utils/CacheUtil.dart';
4 | import 'package:flutter_for_weibo/common/Global.dart';
5 | import 'package:flutter_for_weibo/common/network/HttpService.dart';
6 | import 'package:flutter_for_weibo/widgets/Browser.dart';
7 | import 'package:flutter_for_weibo/routes/navigation_util.dart';
8 |
9 | class LoginRoute extends StatefulWidget {
10 | LoginRoute({Key key}) : super(key: key);
11 |
12 | @override
13 | _LoginRouteState createState() => _LoginRouteState();
14 | }
15 |
16 | class _LoginRouteState extends State {
17 | //初始化全局必要参数
18 | Future prepareGlobal() async {
19 | await Global.init();
20 | await CacheUtil.init();
21 | }
22 |
23 | @override
24 | void initState() {
25 | super.initState();
26 | }
27 |
28 | @override
29 | Widget build(BuildContext context) {
30 | //如果上次登陆过,那么下次自动登录
31 | CacheUtil.init().then((value) {
32 | Global.init().then((value) {
33 | DateTime curTime = DateTime.now();
34 | int curSeconds = curTime.millisecondsSinceEpoch;
35 | int expires = CacheUtil.sharedInstance.getExpires();
36 |
37 | int diff = expires - curSeconds;
38 | String token = CacheUtil.sharedInstance.getAccessToken();
39 | String uid = CacheUtil.sharedInstance.getUid();
40 |
41 | // TODO: 过期时间暂时不处理
42 | if (token != null && uid != null) {
43 | NavigatorUtil.goHomePage(context);
44 | }
45 | });
46 | });
47 |
48 | String url = URLConfig.baseURL +
49 | URLConfig.auth +
50 | "?display=" +
51 | Global.weiboDisplay +
52 | "&client_id=" +
53 | Global.weiboAppKey +
54 | "&redirect_uri=" +
55 | URLConfig.weiboRedirectUri;
56 |
57 | return Scaffold(
58 | body: Browser(
59 | url: url,
60 | title: "登录",
61 | filterURLCallback: (String filterUrl) {
62 | int codeIndex = filterUrl.lastIndexOf("code");
63 | if (codeIndex > 0) {
64 | String code = filterUrl.substring(codeIndex + 5);
65 |
66 | //准备必要参数
67 | prepareGlobal().then((value) {
68 | CacheUtil.sharedInstance.sotreAuthorizationCode(code);
69 | NavigatorUtil.goHomePage(context);
70 | });
71 | }
72 | },
73 | ));
74 | }
75 | }
76 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/items/MessageItem.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 | import 'package:flutter_for_weibo/models/WeiBoCard.dart';
3 |
4 |
5 |
6 | class MessageItem extends StatelessWidget {
7 | final User user;
8 |
9 | const MessageItem({Key key, this.user}) : super(key: key);
10 |
11 | @override
12 | Widget build(BuildContext context) {
13 | return Container(
14 | padding: EdgeInsets.all(0),
15 | child: Expanded(
16 | child: Column(
17 | crossAxisAlignment: CrossAxisAlignment.start,
18 | children: [
19 | Row(
20 | children: [
21 | Container(
22 | margin: EdgeInsets.fromLTRB(15, 10, 15, 10),
23 | width: 50,
24 | height: 50,
25 | decoration: BoxDecoration(
26 | borderRadius: BorderRadius.circular(30),
27 | image: DecorationImage(
28 | image: AssetImage(user.profileImgUrl)
29 | ),
30 | ),
31 | ),
32 | Column(
33 | crossAxisAlignment: CrossAxisAlignment.start,
34 | children: [
35 | Container(
36 | padding: EdgeInsets.fromLTRB(0, 0, 0, 3),
37 | child: Text(
38 | user.screenName,
39 | maxLines: 1,
40 | overflow: TextOverflow.ellipsis,
41 | style: TextStyle(
42 | fontSize: 16,
43 | color: Color(0xFF313131),
44 | ),
45 | ),
46 | ),
47 | Container(
48 | padding: EdgeInsets.only(left: 0),
49 | child: user.desc == null ? Container() : Text(
50 | user.desc ,
51 | maxLines: 1,
52 | overflow: TextOverflow.ellipsis,
53 | style: TextStyle(
54 | fontSize: 13,
55 | // fontWeight: FontWeight.normal,
56 | color: Color(0xFFA3A3A3),
57 | ),
58 | ),
59 | ),
60 | ],
61 | ),
62 | ],
63 | ),
64 |
65 | ],
66 | ),
67 | ),
68 | );
69 | }
70 | }
71 |
--------------------------------------------------------------------------------
/flutter_for_weibo/ios/Runner/Base.lproj/LaunchScreen.storyboard:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/common/network/HttpCacheInterceptor.dart:
--------------------------------------------------------------------------------
1 | import 'dart:collection';
2 | import 'package:dio/dio.dart';
3 | import '../Global.dart';
4 |
5 |
6 |
7 |
8 | class ResponseCache {
9 | ResponseCache(this.response) {
10 | timeStamp = DateTime.now().millisecondsSinceEpoch;
11 | }
12 |
13 | Response response;
14 | int timeStamp;
15 |
16 |
17 | @override
18 | bool operator ==(other) {
19 | //如果response的URL一样,那么认为 Response 也一样
20 | return response.hashCode == other.hashCode;
21 | }
22 |
23 | @override
24 | int get hashCode => response.realUri.hashCode;
25 |
26 | }
27 |
28 |
29 | //自定义 HTTP 拦截器,缓存数据
30 | class HttpCacheInterceptor extends Interceptor {
31 |
32 | //key:url value: Response
33 | //因为我们要保证缓存的数据有序,所以用linkedMap
34 | var cache = LinkedHashMap();
35 |
36 | @override
37 | onRequest(RequestOptions options) async {
38 | if(!Global.cacheConfig.enable) return options;//如果不开启缓存
39 |
40 | // refresh标记是否是"下拉刷新"
41 | bool refresh = options.extra["refresh"] == true;
42 | //如果是下拉刷新,先删除相关缓存
43 | if (refresh) {
44 | delete(options.uri.toString());
45 | return options;
46 | }
47 |
48 | if (options.extra["noCache"] == false && options.method.toLowerCase() == 'get') {
49 | String key = options.extra["cacheKey"] ?? options.uri.toString();
50 | var resp = cache[key];
51 | if (resp != null) {
52 | //若缓存未过期,则使用缓存的 response
53 | if ((DateTime.now().millisecondsSinceEpoch - resp.timeStamp) /(1000*60*60*24) <
54 | Global.cacheConfig.maxDay) {
55 | return cache[key].response;
56 | } else {
57 | //若已过期则删除缓存,继续向服务器请求
58 | cache.remove(key);
59 | }
60 | }
61 | }
62 | }
63 |
64 | @override
65 | onError(DioError err) async {
66 |
67 | }
68 |
69 | @override
70 | onResponse(Response response) async {
71 | // 如果启用缓存,将返回结果保存到缓存
72 | if (Global.cacheConfig.enable) {
73 | saveCache(response);
74 | }
75 | }
76 |
77 | //保存请求的结果
78 | saveCache(Response object) {
79 | RequestOptions options = object.request;
80 | if (options.extra["noCache"] == false && options.method.toLowerCase() == "get") {
81 | // 如果缓存数量超过最大数量限制,则先移除最早的一条记录
82 | if (cache.length == Global.cacheConfig.maxCount) {
83 | cache.remove(cache[cache.keys.first]);
84 | }
85 | String key = options.extra["cacheKey"] ?? options.uri.toString();
86 | cache[key] = ResponseCache(object);
87 | }
88 | }
89 |
90 | void delete(String key) {
91 | cache.remove(key);
92 | }
93 | }
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/common/network/Network.dart:
--------------------------------------------------------------------------------
1 | import 'dart:io';
2 |
3 | import 'package:dio/dio.dart';
4 | import 'package:flutter_for_weibo/common/network/HttpService.dart';
5 | import '../Global.dart';
6 | import 'dart:convert';
7 |
8 | enum HTTPMethod { get, post }
9 |
10 | typedef void SuccessFunc(dynamic);
11 | typedef void FailFunc(dynamic);
12 |
13 | class Network {
14 |
15 | Dio _dio;
16 | static Network _network;
17 | factory Network() => _getInstance();
18 | static Network get sharedInstance => _getInstance();
19 |
20 | Network._internal() {
21 | BaseOptions baseOptions = new BaseOptions(
22 | connectTimeout: 15000,
23 | receiveTimeout: 15000,
24 | );
25 |
26 | _dio = new Dio(baseOptions);
27 | //拦截器会导致某些请求失效,暂时注掉
28 | // _dio.interceptors.add(Global.httpInterceptor);
29 | }
30 |
31 | //单例
32 | static Network _getInstance() {
33 | if (_network == null) {
34 | _network = new Network._internal();
35 | }
36 | return _network;
37 | }
38 |
39 |
40 | void doGet({String path, Map params, SuccessFunc success, FailFunc failure,String baseURL}) {
41 | _doRequest(path, params, HTTPMethod.get, success,failure,baseURL);
42 | }
43 |
44 | void doPost({String path, Map params,SuccessFunc success, FailFunc failure,String baseURL}) {
45 | _doRequest(path, params, HTTPMethod.post, success,failure,baseURL);
46 | }
47 |
48 | /*
49 | private 方法加下划线
50 | */
51 | void _doRequest(String path, Map params, HTTPMethod method, [SuccessFunc successCallBack, FailFunc failureCallBack,String baseURL]) async {
52 |
53 | if (baseURL == null || baseURL.isEmpty){
54 | baseURL = URLConfig.baseURL;
55 | }
56 | String url = baseURL + path;
57 |
58 | try {
59 | Response response;
60 | switch (method) {
61 | case HTTPMethod.get:
62 | if (params != null && params.isNotEmpty) {
63 | response = await _dio.get(url, queryParameters: params);
64 | } else {
65 | response = await _dio.get(url);
66 | }
67 | break;
68 | case HTTPMethod.post:
69 | if (params != null && params.isNotEmpty) {
70 | response = await _dio.post(url, queryParameters: params);
71 | } else {
72 | response = await _dio.post(url);
73 | }
74 | break;
75 | }
76 | Map result = json.decode(response.toString());
77 | if (successCallBack != null) {
78 | successCallBack(result);
79 | }
80 |
81 | } catch (exception) {
82 | if (failureCallBack != null) {
83 | failureCallBack(exception.toString());
84 | }
85 | }
86 | }
87 | }
88 |
--------------------------------------------------------------------------------
/flutter_for_weibo/lib/widgets/WBMediaWidget.dart:
--------------------------------------------------------------------------------
1 | import 'package:flutter/material.dart';
2 |
3 | import 'package:flutter_for_weibo/models/WeiBoCard.dart';
4 |
5 | //多媒体组件: 文本 图片 视频
6 | class WBMediaWidget extends StatelessWidget {
7 | const WBMediaWidget({Key key, this.data}) : super(key: key);
8 | final WeiBoCard data;
9 |
10 | @override
11 | Widget build(BuildContext context) {
12 | return Container(
13 | child: Column(
14 | children: [
15 | Text(
16 | '${this.data.rawText == null ? this.data.text :this.data.rawText}',
17 | style: TextStyle(
18 | fontSize: 16,
19 | ),
20 | ),
21 | Padding(padding: EdgeInsets.only(top: 5)),
22 | WBPicturesWidget(list: this.data.pics),
23 | ],
24 | ),
25 | );
26 | }
27 | }
28 |
29 | class WBPicturesWidget extends StatelessWidget {
30 | List