📝 one day list app created by flutter!

Overview

image

image

Language:简体中文|English

support GitHub license Build Status apkdownload

018 018 018 018
018 018 018 018
018 018 018

Introduction

Source of inspiration

“One Day list ” is a small, simple and beautiful app, It can help you keep track of your daily plans. If you happen to have the habit of writing a mission plan, then it must be perfect for you.

For users and developers, I will introduce them separately

Before we start, you can take a look at the demo:

018

Introduction to the user

Colorful Themes

In the app, you can switch between the theme colors in the theme switching interface.The app comes with six default themes, which are the color combinations I've chosen over many attempts. You can also choose a custom theme color.

Change Theme Custom Theme
018 018

Colorful Task Icons

In the app, each task comes with an icon, and the app provides all the Material Design style icons that Flutter comes with. You can customize with any color.

Icon Setting Custom Icon
018 018

Diverse Custom Combinations

In the app, there are a number of other operations that you can customize.

For example, the head of the homepage slide bar displays content, of course, there are some other operations that you will experience on your own.

Navigator Setting Settings MainPage background
018 018 018

Done List

When you have completed a task, the task will be moved from the home page to the done list page, where you can see some additional information about the task.

018

Then, the introduction to the user ends here.

The following is the time for the majority of developers!

Introduction to the Developer

If you have a strong interest in Flutter and have been slow to act, then don't hesitate, hurry up! This project is perfect for getting started with Flutter.

Let me introduce you to the internal structure of this project.

Packages

Some very good packages are used in the project, and I am especially grateful to these developers for keeping my hair healthy.

Below are the information about these packages.

package explain
dio network request
shared_preferences local storage
provider state management
test unit test
carousel_slider slide control
circle_list circle list
intl change language
sqflite sqlite database
flutter_colorpicker color picker
cached_network_image image cache
image_picker image picker
permission_handler request for permissions
path_provider get path
image_crop image crop
flutter_svg svg pictures
package_info get package info
flutter_webview_plugin webview
pull_to_refresh pull to refresh data
photo_view show the picture
url_launcher open app store
open_file open apk file
flare_flutter flare animation
encrypt encrypt password
flutter_staggered_animations listview animation

Project Structure

The state management framework used by the project is Provider , and the architecture of the entire project is as follows

image

  • The View layer is used to display layouts and is a variety of StatelessWidget pages wrapped by ChangeNotifierProvider
  • The Model layer is used to process data and is a variety of Model classes that inherit ChangeNotifier
  • The Logic layer does not save any data, only logical operations

Does it look like the MVP pattern in Android? In fact, they are all similar, but the names are slightly different. You can also think of the above mode as the MVP mode.

Flutter is particularly well suited for this architectural model, because the view changes with the data, you basically don't have to care about the View, just go and operate on the data.

Directory Structure

The project directory structure is as follows:

├── android
├── build
├── images
├── intl.sh
├── ios
├── lib
├── local_json
├── pubspec.lock
├── pubspec.yaml
├── res
├── svgs
├── test
└── todo_list.iml

Let me explain the other directories besides lib:

directory explain
images For storing various pictures
local_json I encapsulate the Icon information of Flutter into a Json file and store it in this directory
res Store the language files generated by the "intl" plugin
svgs Store images in svg format

Then the lib directory

image

directory explain
config Store various configuration classes, such as Dio request encapsulation class, etc.
database Store database operation related classes
i10n Class for storing internationalized related operations
items Item class that stores part of the List list
json Various network requests, databases, etc. related json files
logic Locig layer directory
model Model layer directory
pages Store each page, which is the directory of the View layer
utils Packaged tools, such as file operations
widgets custom widgets

ToDo

  • Icon search function
  • Feedback display wall
  • Email account login
  • MainPage's background now supports network picture
  • Custom task details page font size
  • Geek news
  • Whether to show the opening animation

Appendix

app download

Android download link:

Ios download link:

I haven't purchased an iOS developer account for 99$ a year

Note: The current project running environment is the version of flutter v1.9.1+hotfix.6. The modified version has more destructive fixes than before.
If your version of flutter is lower than the current version, some third-party libraries that are dependent on the project will not run. Please lower their version at that time.

The following is a third-party library that needs to be modified under version 1.5.4.

-   flutter_svg: ^0.12.4+2
-   image_crop: ^0.2.1
-   flare_flutter: ^1.5.4
-   photo_view: ^0.3.3

If you think this app is good, or if this project helps you, give this project a Star. The project will continue to be updated and maintained afterwards.!

Comments
  • lib/logic/feedback_page_logic.dart:91:33: Error: Method not found: 'UploadFileInfo'.

    lib/logic/feedback_page_logic.dart:91:33: Error: Method not found: 'UploadFileInfo'. "avatar": new UploadFileInfo(new File(avatarPath), transFormName), ^^^^^^^^^^^^^^

    lib/logic/feedback_page_logic.dart:91:33: Error: Method not found: 'UploadFileInfo'. "avatar": new UploadFileInfo(new File(avatarPath), transFormName), ^^^^^^^^^^^^^^

    question 
    opened by Juneor 5
  • Error: No named parameter with the name 'connectTimeout'.

    Error: No named parameter with the name 'connectTimeout'.

    • 环境如下:
    ➜  flutter-todos git:(master) ✗ flutter --version
    Flutter 1.17.3 • channel unknown • unknown source
    Framework • revision b041144f83 (12 days ago) • 2020-06-04 09:26:11 -0700
    Engine • revision ee76268252
    Tools • Dart 2.8.4
    
    ➜  flutter-todos git:(master) ✗ flutter doctor
    Doctor summary (to see all details, run flutter doctor -v):
    [✓] Flutter (Channel unknown, v1.17.3, on Mac OS X 10.15.4 19E287, locale zh-Hans-CN)
    [✗] Android toolchain - develop for Android devices
        ✗ Unable to locate Android SDK.
          Install Android Studio from: https://developer.android.com/studio/index.html
          On first launch it will assist you in installing the Android SDK components.
          (or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).
          If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
          You may also want to add it to your PATH environment variable.
    
     
    [✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    [!] Android Studio (not installed)
    [✓] VS Code (version 1.46.0)
     
    [✓] Connected device (1 available)            
    
    ! Doctor found issues in 2 categories.
    
    • 完整报错如下:
    ➜  flutter-todos git:(master) ✗ flutter run
    
    
    Launching lib/main.dart on iPhone 11 in debug mode...
     
    Running Xcode build...                                                  
                                                                    
    Compiler message:
    lib/utils/file_util.dart:84:24: Error: No named parameter with the name 'connectTimeout'.                          
          options: Options(connectTimeout: 15 * 1000, receiveTimeout: 360 * 1000),                                     
                           ^^^^^^^^^^^^^^                                                                              
    ../../../git/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.9/lib/src/options.dart:140:3: Context: Found this candidate, but the arguments don't
    match.
      Options({                                                                                                        
      ^^^^^^^                                                                                                          
    lib/config/api_strategy.dart:136:61: Error: The getter 'isNotEmpty' isn't defined for the class 'FormData'.        
     - 'FormData' is from 'package:dio/src/form_data.dart' ('../../../git/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.9/lib/src/form_data.dart').
    Try correcting the name to the name of an existing getter, or defining a getter or field named 'isNotEmpty'.       
            if (params != null && params.isNotEmpty || formData.isNotEmpty) {                                          
                                                                ^^^^^^^^^^                                             
    ../../../git/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.13.1/lib/src/picture_stream.dart:92:3: Error: The superclass, 'Diagnosticable',
    has no unnamed constructor that takes no arguments.
      PictureStream();                                                                                                 
      ^^^^^^^^^^^^^                                                                                                    
    lib/widgets/update_progress_widget.dart:186:28: Error: No named parameter with the name 'connectTimeout'.          
            },options: Options(connectTimeout: 15*1000,receiveTimeout: 360*1000),);                                    
                               ^^^^^^^^^^^^^^                                                                          
    ../../../git/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.9/lib/src/options.dart:140:3: Context: Found this candidate, but the arguments don't
    match.
      Options({                                                                                                        
      ^^^^^^^                                                                                                          
    ../../../git/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.13.1/lib/src/picture_stream.dart:192:16: Error: The superclass,
    'Diagnosticable', has no unnamed constructor that takes no arguments.
    abstract class PictureStreamCompleter extends Diagnosticable {                                                     
                   ^                                                                                                   
    Running Xcode build...                                                                                             
    Xcode build done.                                           40.4s
    Failed to build iOS app
    Error output from Xcode build:
    ↳
        ** BUILD FAILED **
    
    
    Xcode's output:
    ↳
    
        Compiler message:
        lib/utils/file_util.dart:84:24: Error: No named parameter with the name 'connectTimeout'.
              options: Options(connectTimeout: 15 * 1000, receiveTimeout: 360 * 1000),
                               ^^^^^^^^^^^^^^
        ../../../git/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.9/lib/src/options.dart:140:3: Context: Found this candidate, but the arguments
        don't match.
          Options({
          ^^^^^^^
        lib/config/api_strategy.dart:136:61: Error: The getter 'isNotEmpty' isn't defined for the class 'FormData'.
         - 'FormData' is from 'package:dio/src/form_data.dart'
         ('../../../git/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.9/lib/src/form_data.dart').
        Try correcting the name to the name of an existing getter, or defining a getter or field named 'isNotEmpty'.
                if (params != null && params.isNotEmpty || formData.isNotEmpty) {
                                                                    ^^^^^^^^^^
        ../../../git/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.13.1/lib/src/picture_stream.dart:92:3: Error: The superclass,
        'Diagnosticable', has no unnamed constructor that takes no arguments.
          PictureStream();
          ^^^^^^^^^^^^^
        lib/widgets/update_progress_widget.dart:186:28: Error: No named parameter with the name 'connectTimeout'.
                },options: Options(connectTimeout: 15*1000,receiveTimeout: 360*1000),);
                                   ^^^^^^^^^^^^^^
        ../../../git/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.9/lib/src/options.dart:140:3: Context: Found this candidate, but the arguments
        don't match.
          Options({
          ^^^^^^^
        ../../../git/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.13.1/lib/src/picture_stream.dart:192:16: Error: The superclass,
        'Diagnosticable', has no unnamed constructor that takes no arguments.
        abstract class PictureStreamCompleter extends Diagnosticable {
                       ^
        Target kernel_snapshot failed: Exception: Errors during snapshot creation: null
        build failed.
        Command PhaseScriptExecution failed with a nonzero exit code
        note: Using new build system
        note: Building targets in parallel
        note: Planning build
        note: Constructing build description
        warning: Mapping architecture armv7 to i386. Ensure that this target's Architectures and Valid Architectures build settings are configured
        correctly for the iOS Simulator platform. (in target 'image_picker' from project 'Pods')
        warning: Mapping architecture arm64 to x86_64. Ensure that this target's Architectures and Valid Architectures build settings are configured
        correctly for the iOS Simulator platform. (in target 'image_picker' from project 'Pods')
        warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the range of supported deployment target versions is
        8.0 to 13.5.99. (in target 'FMDB' from project 'Pods')
    
    Could not build the application for the simulator.
    Error launching application on iPhone 11.
    
    opened by Lsnsh 4
  • 源码编译失败,萌新求带,为什么会缺省一个ImageStreamListener

    源码编译失败,萌新求带,为什么会缺省一个ImageStreamListener

    屏幕快照 2019-08-02 上午9 30 06 Compiler message: file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:87:3: Error: Type 'ImageStreamListener' not found. ImageStreamListener _imageListener; ^^^^^^^^^^^^^^^^^^^ F/crash_dump64(24342): crash_dump.cpp:472] failed to attach to thread 24337: Permission denied file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:87:3: Error: 'ImageStreamListener' isn't a type. ImageStreamListener _imageListener; ^^^^^^^^^^^^^^^^^^^ file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:164:11: Error: Method not found: 'ImageStreamListener'. ImageStreamListener(_updateImage, onError: widget.onImageError); ^^^^^^^^^^^^^^^^^^^ file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/src/crop.dart:164:11: Error: The method 'ImageStreamListener' isn't defined for the class 'CropState'.

    • 'CropState' is from 'package:image_crop/image_crop.dart' ('file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/image_crop-0.3.0/lib/image_crop.dart'). Try correcting the name to the name of an existing method, or defining a method named 'ImageStreamListener'. ImageStreamListener(_updateImage, onError: widget.onImageError); ^^^^^^^^^^^^^^^^^^^ file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/photo_view-0.4.2/lib/photo_view.dart:369:9: Error: Method not found: 'ImageStreamListener'. ImageStreamListener((ImageInfo info, bool synchronousCall) { ^^^^^^^^^^^^^^^^^^^ file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/photo_view-0.4.2/lib/photo_view.dart:369:9: Error: The method 'ImageStreamListener' isn't defined for the class '_PhotoViewState'.
    • '_PhotoViewState' is from 'package:photo_view/photo_view.dart' ('file:///Users/psh/.pub-cache/hosted/pub.flutter-io.cn/photo_view-0.4.2/lib/photo_view.dart'). Try correcting the name to the name of an existing method, or defining a method named 'ImageStreamListener'. ImageStreamListener((ImageInfo info, bool synchronousCall) { ^^^^^^^^^^^^^^^^^^^ Compiler failed on /Users/psh/Desktop/todo-list-app-master/lib/main.dart Finished with error: Gradle task assembleDebug failed with exit code 1
    opened by onlineDu 3
  • 一点建议

    一点建议

    命名规范

    1. pages文件夹内容太乱了,应该按照账号、todo、settings等来区分,放到子文件夹里面
    2. 命名也是,思路不清晰,过几个月可能作者都忘了~

    dio

    建议参考一篇文章做封装,链接:https://juejin.im/post/5c161e24e51d4546f83c8ae8

    资源CDN

    图片等资源,要做个CDN加速

    建议与意见 
    opened by wenboLee 2
  • Desktop support

    Desktop support

    Hey ,I liked the app and tried building it for linux with some changes and it is stable.As the work you need to do is less Try giving support to linux and add to snapstore. Things i changed

    Things not worked but i didn't cared

    • Login system

    It is a very nice app thanks. Screenshot_20200912_234247 Screenshot_20200912_234440

    Note:-I removed all of the feedback wall as i don't need

    opened by prudhvi-hack 2
  • flutter run报错

    flutter run报错

    Launching lib/main.dart on iPhone SE (2nd generation) in debug mode... Running pod install... 1.4s Running Xcode build...

    Xcode build done. 14.0s Failed to build iOS app Error output from Xcode build: ↳ ** BUILD FAILED **

    Xcode's output: ↳ /Users/lee/.pub-cache/hosted/pub.flutter-io.cn/permission_handler-4.4.0+hotfix.4/ios/Class es/strategies/NotificationPermissionStrategy.m:71:5: warning: 'UIRemoteNotificationType' is deprecated: first deprecated in iOS 8.0 - Use UserNotifications Framework's UNAuthorizationOptions for user notifications and registerForRemoteNotifications for receiving remote notifications instead. [-Wdeprecated-declarations] UIRemoteNotificationType type = [[UIApplication sharedApplication] enabledRemoteNotificationTypes]; ^ In module 'UIKit' imported from /Users/lee/flutterApp/flutter-todos/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPh oneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:69:32: note: 'UIRemoteNotificationType' has been explicitly marked deprecated here typedef NS_OPTIONS(NSUInteger, UIRemoteNotificationType) { ^ /Users/lee/.pub-cache/hosted/pub.flutter-io.cn/permission_handler-4.4.0+hotfix.4/ios/Class es/strategies/NotificationPermissionStrategy.m:71:72: warning: 'enabledRemoteNotificationTypes' is deprecated: first deprecated in iOS 8.0 - Use -[UIApplication isRegisteredForRemoteNotifications] and UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] to retrieve user-enabled remote notification and user notification settings [-Wdeprecated-declarations] UIRemoteNotificationType type = [[UIApplication sharedApplication] enabledRemoteNotificationTypes]; ^ In module 'UIKit' imported from /Users/lee/flutterApp/flutter-todos/ios/Pods/Target Support Files/permission_handler/permission_handler-prefix.pch:2: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPh oneSimulator13.6.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h:229:1: note: 'enabledRemoteNotificationTypes' has been explicitly marked deprecated here - (UIRemoteNotificationType)enabledRemoteNotificationTypes API_DEPRECATED("Use -[UIApplication isRegisteredForRemoteNotifications] and UserNotifications Framework's -[UNUserNotificationCenter getNotificationSettingsWithCompletionHandler:] to retrieve user-enabled remote notification and user notification settings", ios(3.0, 8.0)) API_UNAVAILABLE(tvos); ^ 2 warnings generated. ../../.pub-cache/hosted/pub.flutter-io.cn/dio-2.2.2/lib/src/dio_http_headers.dart:55:8: Error: The method 'DioHttpHeaders.add' has fewer named arguments than those of overridden method 'HttpHeaders.add'. void add(String name, value) { ^ org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:699:8: Context: This is the overridden method ('add'). void add(String name, Object value, ^ ../../.pub-cache/hosted/pub.flutter-io.cn/dio-2.2.2/lib/src/dio_http_headers.dart:70:8: Error: The method 'DioHttpHeaders.set' has fewer named arguments than those of overridden method 'HttpHeaders.set'. void set(String name, Object value) { ^ org-dartlang-sdk:///third_party/dart/sdk/lib/_http/http.dart:708:8: Context: This is the overridden method ('set'). void set(String name, Object value, ^ ../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.13.1/lib/src/picture_stream.dart:92:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. PictureStream(); ^^^^^^^^^^^^^ ../../.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.13.1/lib/src/picture_stream.dart:192:16: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. abstract class PictureStreamCompleter extends Diagnosticable { ^

    Command PhaseScriptExecution failed with a nonzero exit code
    note: Using new build system
    note: Building targets in parallel
    note: Planning build
    note: Constructing build description
    warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 4.3, but the
    range of supported deployment target versions is 8.0 to 13.6.99. (in target 'FMDB' from project
    'Pods')
    

    Could not build the application for the simulator. Error launching application on iPhone SE (2nd generation).

    opened by dylan-7 4
  • 项目运行不起来,运行了很多别人的项目是可以的!

    项目运行不起来,运行了很多别人的项目是可以的!

    Compiler message: lib/pages/main/avatar_history_page.dart:157:23: Error: Method not found: 'UploadFileInfo'. "avatar": new UploadFileInfo(new File(filePath), fileName), ^^^^^^^^^^^^^^ lib/pages/main/avatar_history_page.dart:156:24: Error: Method not found: 'FormData.from'. params: FormData.from({ ^^^^ lib/utils/file_util.dart:84:24: Error: No named parameter with the name 'connectTimeout'. options: Options(connectTimeout: 15 * 1000, receiveTimeout: 360 * 1000), ^^^^^^^^^^^^^^ /F:/install/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.10/lib/src/options.dart:140:2: Context: Found this candidate, but the arguments don't match. Options({ ^^^^^^^ lib/config/api_strategy.dart:139:44: Error: Method not found: 'FormData.from'. data: formData ?? new FormData.from(params), ^^^^ lib/config/api_strategy.dart:136:61: Error: The getter 'isNotEmpty' isn't defined for the class 'FormData'.

    • 'FormData' is from 'package:dio/src/form_data.dart' ('/F:/install/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.10/lib/src/form_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'isNotEmpty'. if (params != null && params.isNotEmpty || formData.isNotEmpty) { ^^^^^^^^^^ lib/logic/avatar_page_logic.dart:115:23: Error: Method not found: 'UploadFileInfo'. "avatar": new UploadFileInfo(new File(filePath), fileName), ^^^^^^^^^^^^^^ lib/logic/avatar_page_logic.dart:114:24: Error: Method not found: 'FormData.from'. params: FormData.from({ ^^^^ lib/logic/feedback_page_logic.dart:91:33: Error: Method not found: 'UploadFileInfo'. "avatar": new UploadFileInfo(new File(avatarPath), transFormName), ^^^^^^^^^^^^^^ lib/logic/feedback_page_logic.dart:90:34: Error: Method not found: 'FormData.from'. params: FormData.from({ ^^^^ /F:/install/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.13.1/lib/src/picture_stream.dart:92:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. PictureStream(); ^^^^^^^^^^^^^ lib/widgets/update_progress_widget.dart:186:28: Error: No named parameter with the name 'connectTimeout'. },options: Options(connectTimeout: 151000,receiveTimeout: 3601000),); ^^^^^^^^^^^^^^ /F:/install/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.10/lib/src/options.dart:140:2: Context: Found this candidate, but the arguments don't match. Options({ ^^^^^^^ /F:/install/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.13.1/lib/src/picture_stream.dart:192:16: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. abstract class PictureStreamCompleter extends Diagnosticable { ^

    Compiler message: lib/pages/main/avatar_history_page.dart:157:23: Error: Method not found: 'UploadFileInfo'. "avatar": new UploadFileInfo(new File(filePath), fileName), ^^^^^^^^^^^^^^ lib/pages/main/avatar_history_page.dart:156:24: Error: Method not found: 'FormData.from'. params: FormData.from({ ^^^^ lib/utils/file_util.dart:84:24: Error: No named parameter with the name 'connectTimeout'. options: Options(connectTimeout: 15 * 1000, receiveTimeout: 360 * 1000), ^^^^^^^^^^^^^^ /F:/install/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.10/lib/src/options.dart:140:2: Context: Found this candidate, but the arguments don't match. Options({ ^^^^^^^ lib/config/api_strategy.dart:139:44: Error: Method not found: 'FormData.from'. data: formData ?? new FormData.from(params), ^^^^ lib/config/api_strategy.dart:136:61: Error: The getter 'isNotEmpty' isn't defined for the class 'FormData'.

    • 'FormData' is from 'package:dio/src/form_data.dart' ('/F:/install/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.10/lib/src/form_data.dart'). Try correcting the name to the name of an existing getter, or defining a getter or field named 'isNotEmpty'. if (params != null && params.isNotEmpty || formData.isNotEmpty) { ^^^^^^^^^^ lib/logic/avatar_page_logic.dart:115:23: Error: Method not found: 'UploadFileInfo'. "avatar": new UploadFileInfo(new File(filePath), fileName), ^^^^^^^^^^^^^^ lib/logic/avatar_page_logic.dart:114:24: Error: Method not found: 'FormData.from'. params: FormData.from({ ^^^^ lib/logic/feedback_page_logic.dart:91:33: Error: Method not found: 'UploadFileInfo'. "avatar": new UploadFileInfo(new File(avatarPath), transFormName), ^^^^^^^^^^^^^^ lib/logic/feedback_page_logic.dart:90:34: Error: Method not found: 'FormData.from'. params: FormData.from({ ^^^^ /F:/install/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.13.1/lib/src/picture_stream.dart:92:3: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. PictureStream(); ^^^^^^^^^^^^^ lib/widgets/update_progress_widget.dart:186:28: Error: No named parameter with the name 'connectTimeout'. },options: Options(connectTimeout: 151000,receiveTimeout: 3601000),); ^^^^^^^^^^^^^^ /F:/install/flutter/.pub-cache/hosted/pub.flutter-io.cn/dio-3.0.10/lib/src/options.dart:140:2: Context: Found this candidate, but the arguments don't match. Options({ ^^^^^^^ /F:/install/flutter/.pub-cache/hosted/pub.flutter-io.cn/flutter_svg-0.13.1/lib/src/picture_stream.dart:192:16: Error: The superclass, 'Diagnosticable', has no unnamed constructor that takes no arguments. abstract class PictureStreamCompleter extends Diagnosticable { ^ Target kernel_snapshot failed: Exception: Errors during snapshot creation: null build failed.

    FAILURE: Build failed with an exception.

    • Where: Script 'F:\install\flutter\packages\flutter_tools\gradle\flutter.gradle' line: 882

    • What went wrong: Execution failed for task ':app:compileFlutterBuildDebug'.

    Process 'command 'F:\install\flutter\bin\flutter.bat'' finished with non-zero exit value 1

    • Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

    • Get more help at https://help.gradle.org

    BUILD FAILED in 16s Exception: Gradle task assembleDebug failed with exit code 1

    opened by sunsboyxu 2
Releases(v1.1.2)
  • v1.1.2(Mar 10, 2020)

    English

    1. Fix: Bugs mentioned in FeedbackWallPage~~
    2. New: Now you can change the background transparency of the task card!!
    3. Operation: Long press ' + ' button to pop up setting options

    中文

    1.修复:反馈墙中提及的bug们~~ 2.新增:现在任务卡片可以设置背景透明度了 3.操作:长按 ‘+’ 按钮可以弹出设置选项哦!

    Source code(tar.gz)
    Source code(zip)
    todo-list.apk(9.44 MB)
  • 1.1.1(Mar 7, 2020)

    English

    1. Fix: Bugs you may have encountered or you have never encountered~~
    2. New: It is now possible to set the time period for automatically entering dark mode ^_^
    3. New: Local pictures can now be used directly in the picture background!!
    WeChat4b6de95764cb053d25b4f2498f5c14d6

    Chinese

    1.修复:你可能已经遇到过,或者你从来没遇到过的bug~~ 2.新增:现在可以设置自动进入夜间模式的时间段了 ^_^ 3.新增:图片背景下现在可以直接使用本地图片了哦!!

    WeChat39f589e4b1a0af3087304033e894e06f Source code(tar.gz)
    Source code(zip)
    todo-list.apk(9.21 MB)
  • 1.1.0(Nov 28, 2019)

    English

    • Fix: Cannot enter text after clicking "Submit button" in task editing interface
    • Optimization: the download process can be processed in the background; some pages have added network caches;
    • 🚀New: Comprehensive, custom actions on task cards!🚀
    • Operation: Long press the homepage to enter the background setting interface; task editing interface can edit icons;
    WeChatb2c21357f333c44451ea6fe50c453e92

    中文

    • 修复:任务编辑界面,点击"提交按钮"后无法输入文字
    • 优化:下载过程可以在后台处理了;部分页面新增网络缓存;
    • 新增:全面的、对任务卡片的自定义操作!
    • 操作:主页长按可进入背景设置界面;任务编辑界面可以进行图标编辑;
    WeChatd9f7f414b3898b141971ebece0be6f29 Source code(tar.gz)
    Source code(zip)
    todo-list.apk(9.98 MB)
  • 1.0.9(Nov 7, 2019)

    English

    1.Fixed:Input box cursor is not aligned with text 2.Optimization:The sliding event of the task disc is no longer limited to the task icon, but is triggered on the entire disc 3.✨Add: Splash Animation! ✨

    中文

    1.修复:输入框光标与文字不对齐的问题 2.优化:任务圆盘的滑动事件不再局限于任务图标,而是在整个圆盘上触发 3.新增:开✨场动画!✨

    018 Source code(tar.gz)
    Source code(zip)
    todo-list.apk(10.24 MB)
  • 1.0.8(Oct 17, 2019)

    English

    1.Fixed: Now the validator of TextFormField will appear after you click the button 2.Add: Now the network picture you have set will be shown in history page

    中文

    1.修复:输入框的验证提示将会在点击按钮后显示 2.新增:你使用过的网络背景图片现在可以在历史记录中找到啦

    Source code(tar.gz)
    Source code(zip)
    todo-list.apk(9.85 MB)
  • 1.0.7(Sep 17, 2019)

    English

    1.Fixed: some bugs had been discovered! 2.Add: Now you can change your background to network image in main page!It will be very beautiful!

    018

    中文

    1.修复:已经发现的一些bug 2.新增:现在可以将主页的背景更换为网络图片啦,非常漂亮哦!

    018 Source code(tar.gz)
    Source code(zip)
    todo-list.apk(9.84 MB)
  • 1.0.6(Sep 3, 2019)

    English

    1.Fixed: a lot of bugs due to the online account system. 2.Optimization: now you can edit all icons when the icons’ number is bigger than six 3.Add: You can set the network image as the background on the account

    中文

    1.修复:大量因为上线账号系统,而新增的bug
    2.优化:当自定义图标数量不低于6个的时候,你可以任意编辑图标啦 3.新增:你可以在账号页面设置网络图片作为背景啦

    Source code(tar.gz)
    Source code(zip)
    todo-list.apk(9.70 MB)
  • 1.0.5(Aug 27, 2019)

    English

    1.Fixed: Fix the bug that the homepage returns to log in and then returns to the homepage to create a task that cannot be refreshed 2.Optimization: upgrade popup display timeout error 3.Add: Sync tasks to the cloud! Ma Ma no longer have to worry about changing my phone! 🎉🎉

    中文

    1.修复:从主页进入登录页登录后再进入主页后,创建task不能刷新的bug 2.优化:升级弹窗显示timeout报错 3.新增:任务同步至云端功能!麻麻再也不用担心我换手机啦!🎉🎉

    Source code(tar.gz)
    Source code(zip)
    todo-list.apk(9.69 MB)
  • 1.0.4(Aug 22, 2019)

    English

    1.Fixed: Search page overflow bugs, other small bugs 2.Add: Account System.🎉 Celebrating github Star’s number over 500!

    Todo: Sync task list information to the cloud

    中文

    1.修复:搜索页面的控件溢出bug、其他各种小bug 2.新增:账号系统!🎉庆祝github Star数过500!

    Todo:任务列表信息同步至云端功能,麻麻再也不用担心我换手机啦

    Source code(tar.gz)
    Source code(zip)
    todo-list.apk(9.44 MB)
  • 1.0.3(Aug 15, 2019)

    English

    1.Fixed: The text color of the upgrade frame is wrong.(dark mode) 2.Fixed: Done List complete time is negative. 3.Add: Suggestion display wall.

    中文

    1.修复:升级弹框的文字颜色错误(夜间模式下) 2.修复:完成列表显示的的完成用时为负数 3.新增:留言展示墙!

    Source code(tar.gz)
    Source code(zip)
    todo-list.apk(8.84 MB)
Owner
Xiao Li
code fun,enjoy life
Xiao Li
Flutter Job List Application UI - Day 31

Flutter Job List Application UI - Day 31 class Afgprogrammer extends Flutter100DaysOfCode { video() { return { "title": "Flutter Job List

Mohammad Rahmani 48 Dec 27, 2022
Flutter GridView Example in a Shopping List Design - day 10

Flutter GridView Example UI Design A part of #flutter100daysofcode. Let's create a beautiful and animated GridView Example UI with Flutter. Watch it o

Mohammad Rahmani 190 Dec 26, 2022
Call Kit is a prebuilt feature-rich call component, which enables you to build one-on-one and group voice/video calls into your app with only a few lines of code.

Call Kit (ZegoUIKitPrebuiltCall) Call Kit is a prebuilt feature-rich call component, which enables you to build one-on-one and group voice/video calls

ZEGOCLOUD 9 Dec 26, 2022
Google one tap sign in - Flutter Google One Tap Sign In (Android)

Google One Tap Sign In Google One Tap Sign In (Android) A Flutter Plugin for Goo

null 6 Nov 23, 2022
One Dungeon is a ​1-Bit-style platformer game that consists of one level

One Dungeon is a ​1-Bit-style platformer game that consists of one level. It developed during the Midyear 2022 Flame Game Jam.

Bulent Baris Kilic 6 Sep 21, 2022
Authentication + Splash Screen Flutter UI, UI created getting inspired from one share on dribble with flutter

Rest App, with Firebase Auth + SplashScreen UI created getting inspired from one share on dribble with flutter, after getting amazing responce, Added

Sanskar Tiwari 202 Dec 17, 2022
Ali Türkay AVCI 1 Jan 20, 2022
A Flutter based to do list app (yes, another to do list... but... this time based on a beautiful design)

✔️ Flutter to do App "To Do List" A Flutter app based on the design of the To Do App, created by Rudi Hartono, see more on: Uplabs. Getting Started ??

Johan 561 Dec 31, 2022
Product List Digikala - A List Of Product Digikala App With Flutter

Product List Digikala This is a Mini-Project For Digikala App With Flutter By Mi

Dively_HP 4 Jan 7, 2023
A To-Do List app created using Flutter and GetX.

Flutter Todo App with GetX Building a List to do App with Flutter Screenshots Homescreen Add Todo Edit Todo Why flutter? Installation To run this proj

Vivian Lobo 7 Nov 6, 2022
A todo list app created with Dart and Flutter.

Todo List App A cross-platform Todo List App created using Dart and Flutter. I followed the tutorials by Johannes Mike for personal learning. Then sta

Raja Haseeb 0 Jan 2, 2022
Flutter list view - An unofficial list view for flutter

Flutter List View I don't like official list view. There are some features don't

null 24 Dec 15, 2022
Responsive Scaffold - On mobile it shows a list and pushes to details and on tablet it shows the List and the selected item. Maintainer: @rodydavis

responsive_scaffold View the online demo here! On mobile it shows a list and pushes to details and on tablet it shows the List and the selected item.

Flutter Community 346 Dec 2, 2022
Csv to list for web - Convert a CSV into a list in order to populate a firebase database

My goal is to convert a CSV into a list in order to populate a firebase database

null 0 Jan 26, 2022
Horizontal list - A horizontal list widget to use in mainly for web or desktop application

horizontal_list A horizontal list widget with buttons next and previous. You can

Daniel 2 Feb 2, 2022
Flutter-job-app - Flutter UI Day 28 of 100 - Job App

Flutter UI Day 28 of 100 - Job App Getting Started git clone https://github.com/

Afifudin 2 Sep 23, 2022
Socks Store App UI Design and Animation - Day 20

Socks Store App UI Design and Animation - Day 20 A new Flutter project. Screenshots Getting Started This project is a starting point for a Flutter app

null 1 Dec 22, 2021
Flutter-Day-02 - A new Flutter project with Animation

day02 A new Flutter project with Animation. Learn About Animation Page View Scre

Karan Patel 0 Jan 10, 2022
Flutter Instagram Notification Page UI - Day 32

Flutter Instagram Notification Page UI - Day 32 class Afgprogrammer extends Flutter100DaysOfCode { video() { return { "title": "Flutter In

Mohammad Rahmani 11 Dec 17, 2022