-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/1.2.2' into main
- Loading branch information
Showing
18 changed files
with
276 additions
and
200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Flutter_Analyzer | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize] | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
flutter_analyze: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 1 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
- uses: subosito/flutter-action@v1 | ||
with: | ||
channel: 'beta' | ||
- run: flutter pub get | ||
- run: flutter analyze |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# https://pub.dev/packages/pedantic_mono | ||
include: package:pedantic_mono/analysis_options.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
import 'package:flutter/material.dart'; | ||
import 'package:todo_app_sample_flutter/domain/todo_item.dart'; | ||
|
||
abstract class TodoItemRepository { | ||
Future<TodoItem> create(String title, String body, bool isDone, DateTime now); | ||
Future<TodoItem> create({ | ||
@required String title, | ||
@required String body, | ||
@required bool isDone, | ||
@required DateTime now, | ||
}); | ||
Future<List<TodoItem>> findAll({bool viewCompletedItems}); | ||
Future<TodoItem> find(int id); | ||
Future<void> update(TodoItem todoItem); | ||
Future<void> updateIsDoneById(int id, bool isDone); | ||
Future<void> delete(int id); | ||
Future<TodoItem> find({@required int id}); | ||
Future<void> update({@required TodoItem todoItem}); | ||
Future<void> updateIsDoneById({@required int id, @required bool isDone}); | ||
Future<void> delete({@required int id}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.