go router + bottom nav bar
This commit is contained in:
@@ -16,10 +16,8 @@ void main() {
|
||||
);
|
||||
});*/
|
||||
|
||||
testWidgets('renders _buildDiaryEditScreen when in loaded state',
|
||||
(WidgetTester tester) async {
|
||||
final diaryEditBloc =
|
||||
DiaryEditBloc(DiaryEditState(diaryEditModelObj: DiaryEditModel()));
|
||||
testWidgets('renders _buildDiaryEditScreen when in loaded state', (WidgetTester tester) async {
|
||||
final diaryEditBloc = DiaryEditBloc(DiaryEditState(diaryEditModelObj: DiaryEditModel()));
|
||||
final loadedState = DiaryEditLoadedState(
|
||||
diaryId: 1,
|
||||
selectedSatiety: 4,
|
||||
@@ -36,9 +34,7 @@ void main() {
|
||||
MaterialApp(
|
||||
home: BlocProvider<DiaryEditBloc>.value(
|
||||
value: diaryEditBloc,
|
||||
child: DiaryEditScreen(
|
||||
onInitialize: () {},
|
||||
),
|
||||
child: DiaryEditScreen(),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user