Skip to content

Commit

Permalink
[Feat] notifier build (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
arinming committed Nov 9, 2024
1 parent f73433b commit dd7047d
Show file tree
Hide file tree
Showing 72 changed files with 172 additions and 208 deletions.
123 changes: 0 additions & 123 deletions ios/Runner.xcworkspace/xcshareddata/swiftpm/Package.resolved

This file was deleted.

12 changes: 6 additions & 6 deletions lib/view/on_boarding/on_boarding_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import 'package:farmus/view/on_boarding/component/on_boarding_first.dart';
import 'package:farmus/view/on_boarding/component/on_boarding_third.dart';
import 'package:farmus/view/on_boarding/on_boarding_finish_screen.dart';
import 'package:farmus/view_model/on_boarding//on_boarding_motivation_notifier.dart';
import 'package:farmus/view_model/on_boarding/on_boarding_user_profile.dart';
import 'package:farmus/view_model/on_boarding/on_boarding_provider.dart';
import 'package:farmus/view_model/on_boarding/on_boarding_user_profile.dart';
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';

Expand All @@ -34,7 +34,6 @@ class OnBoardingScreen extends ConsumerWidget {
String nextButtonText = "다음";
String currentIndex;
bool enabled = false;

List<String> motivationList = [];

switch (currentPageIndex) {
Expand All @@ -45,7 +44,6 @@ class OnBoardingScreen extends ConsumerWidget {
case "second":
currentIndex = "2";
enabled = true;
nextButtonText = motivation.value!.buttonText;
break;
case "third":
currentIndex = "3";
Expand Down Expand Up @@ -147,10 +145,10 @@ class OnBoardingScreen extends ConsumerWidget {
motivationList.add('알뜰살뜰');
}
if (motivation.value!.isSecondSelect) {
motivationList.add('건강과웰빙');
motivationList.add('건강과 웰빙');
}
if (motivation.value!.isThirdSelect) {
motivationList.add('심리적안정');
motivationList.add('심리적 안정');
}
ref
.read(onBoardingMotivationNotifierProvider
Expand All @@ -163,7 +161,9 @@ class OnBoardingScreen extends ConsumerWidget {
ref
.read(onBoardingLevelNotifierProvider.notifier)
.postLevel();
ref.read(onBoardingFinishNotifierProvider.notifier).onBoardingComplete();
ref
.read(onBoardingFinishNotifierProvider.notifier)
.onBoardingComplete();
Navigator.pop(context);
Navigator.push(
context,
Expand Down
4 changes: 3 additions & 1 deletion lib/view_model/diary/diary_check_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/view_model/diary/diary_comment_add_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/view_model/diary/diary_comment_delete_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion lib/view_model/diary/diary_comment_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion lib/view_model/diary/diary_comment_report_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/view_model/diary/diary_delete_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/view_model/diary/diary_like_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion lib/view_model/diary/diary_post_report_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion lib/view_model/diary/farmclub_open_diary_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion lib/view_model/diary/my_veggie_diary_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/view_model/diary/post_diary_notifier.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion lib/view_model/farmclub_open/farmclub_possible_vege.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit dd7047d

Please sign in to comment.