Fakultas Ilmu Komputer UI

Commit 0ec4b120 authored by Ardian Ghifari's avatar Ardian Ghifari
Browse files

[REFACTOR] Solve lint issues

parent 94b561d0
Pipeline #82070 passed with stages
in 16 minutes
import 'package:bisaGo/config/styles.dart';
import 'package:bisaGo/flavor/flavor.dart';
import 'package:cached_network_image/cached_network_image.dart';
import 'package:flutter/material.dart';
......
......@@ -21,7 +21,6 @@ import 'package:bisaGo/model/komentar.dart';
import 'package:bisaGo/model/komentar_posting.dart';
import 'package:bisaGo/network/data/network_model.dart';
import 'package:bisaGo/page/login/login.dart';
import 'package:bisaGo/page/profile/profile.dart';
import 'package:share/share.dart';
import 'package:shared_preferences/shared_preferences.dart';
import 'package:shimmer/shimmer.dart';
......@@ -599,10 +598,10 @@ class _DetailPostPageState extends State<DetailPostPage> {
}
}
void _navigateToProfilePage(BuildContext context, String email) {
var route = MaterialPageRoute(builder: (_) => Profile(email: email));
Navigator.of(context).push(route);
}
// void _navigateToProfilePage(BuildContext context, String email) {
// var route = MaterialPageRoute(builder: (_) => Profile(email: email));
// Navigator.of(context).push(route);
// }
Widget _buildMockKomentarPostingWidget() {
final k = KomentarPostingModel.fromJson({
......
......@@ -9,7 +9,6 @@ import 'package:bisaGo/utils/profile_utils.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:photo_view/photo_view.dart';
import 'package:shimmer/shimmer.dart';
class ProfilePicture extends StatelessWidget {
final DetailUserModel user;
......
......@@ -9,8 +9,8 @@ import 'package:bisaGo/page/filter_fasilitas/postingan/detail_post.dart';
// import 'package:get_it/get_it.dart';
import 'package:mockito/mockito.dart';
import 'package:bisaGo/repository/komentar_posting_repository.dart';
import 'package:bisaGo/repository/user_repository.dart';
import 'package:shared_preferences/shared_preferences.dart';
// import 'package:bisaGo/repository/user_repository.dart';
// import 'package:shared_preferences/shared_preferences.dart';
class MockKomentarPostingRepository extends Fake
implements KomentarPostingRepository {}
......
......@@ -9,7 +9,6 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:bisaGo/network/network_interface.dart';
import 'package:bisaGo/page/dashboard/dashboard.dart';
import 'package:http/http.dart' as http;
import 'package:shimmer/shimmer.dart';
class MockNavigatorObserver extends Mock implements NavigatorObserver {}
......
......@@ -59,7 +59,6 @@ void main() {
'deskripsi':
'Ada toilet khusus disabilitas terletak di lantai 2 dekat kintan',
'creator': '',
'creator_email': '',
'date_time': '2020-11-18T00:13:00.000',
'rating': 3,
'tag': 'KR',
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment