Skip to content

naipaka/onepage

Repository files navigation

Pub Version LICENSE Flutter app code check melos codecov

One Page

One Page

"One Page" is a simple diary app with no input pages or date pages, just "one page only."

screenshot

Packages overview

This project is experimentally divided into packages by feature.

dependency_graph

This package contains the entry point of the application and is the main package of the application.

This package provides a database client for the application.

This package supports the internationalization and localization of the application. All texts for translating the application's text are defined here.

This package provides utility functions for the riverpod package.

This package is responsible for the appearance of ThemeData and other appearance-related data used in Flutter apps.

This package provides utility functions for the application.

This package provides generic widgets for the application.

This package provides the diary feature of the application.

This package provides a scrollable calendar.

This package manages application updates.

How to start development

make

The make command will install the required Dart packages, such as FVM and Melos.

How to create a new package

If the project name and the output directory name of the package are the same, --project-name can be omitted.

# Package
flutter create -t package packages/{directory_name} --project-name {project_name}
# App
flutter create --org jp.co.altive packages/{directory_name} --project-name {project_name}

How to run tests

To run tests for the project, use the following command:

melos run test

This command will execute all tests defined in the project.

How to build the project

To build the project, use the following command:

melos run build

or

melos run build:watch

This command will build the project for the specified platforms.