The Second Brain is a life-changing productivity system. Building a Second Brain is a methodology for saving and systematically reminding us of the ideas, inspirations, insights, and connections we've gained through our experience. Instead of manually recording, use a second brain. The second brain is composed primarily of three parts. Remember, Connect, and Create.
-
Login with email and password(credential store in Supabase)
-
Dashboard Manage
-
Listing Task and add new Tasks in Notion
-
Navigation Support
-
supabase
-
fluttertoast
-
Dart SDK Version 2.17.0 or greater.
-
Flutter SDK Version 3.0.0 or greater.
Read our guidelines to increase the accuracy of design conversion to code by optimizing Figma designs.
https://docs.dhiwise.com/knowledgehub/reference-guide-and-tools/figma
Check your app's UI from the AppNavigation screen of your app.
-
Add supabaseUrl and supabasePublicKey inside lib/core/utils/initial_bindings file
-
For additional details refer https://supabase.com/docs/guides/with-flutter
After successful build, your application structure should look like this:
├── android - contains files and folders required for running the application on an Android operating system.
├── assets - contains all images and fonts of your application.
├── ios - contains files required by the application to run the dart code on iOS platforms.
├── lib - Most important folder in the project, used to write most of the dart code.
├── main.dart - starting point of the application
├── core
│ ├── app_export.dart - contains commonly used file imports
│ ├── constants - contains all constants classes
│ ├── errors - contains error handling classes
│ ├── network - contains network related classes
│ └── utils - contains common files and utilities of project
├── data
│ ├── apiClient - contains api calling methods
│ ├── models - contains request/response models
│ └── repository - network repository
├── localization - contains localization classes
├── presentation - contains all screens and screen controllers
│ └── screens - contains all screens
├── routes - contains all the routes of application
└── theme - contains app theme and decoration classes
- if your code is not formatted then run following command in your terminal to format code
dart format .
-
Add Notion's Access Token in NotionToken constant file
-
Add DatabaseId in in Dashboard and Task constant files.
-
Documetation - https://www.dhiwise.com/use-case/notion-second-brain
-
Medium blog- https://medium.com/@kajalmorker1/3e67dc7d6f02
Copyright (c) 2022 DhiWise
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.