Skip to content

Commit

Permalink
update flutter web
Browse files Browse the repository at this point in the history
  • Loading branch information
anjarnaufals committed Nov 16, 2024
1 parent 3b88d27 commit 4450a1e
Show file tree
Hide file tree
Showing 5 changed files with 204 additions and 194 deletions.
25 changes: 2 additions & 23 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,6 @@ linter:
rules:


analyzer:
plugins:
- dart_code_metrics

dart_code_metrics:
metrics:
cyclomatic-complexity: 20
number-of-parameters: 4
maximum-nesting-level: 5
source-lines-of-code: 50
metrics-exclude:
- test/**
rules:
- newline-before-return
- no-boolean-literal-compare
- no-empty-block
- prefer-trailing-comma
- prefer-conditional-expressions
- no-equal-then-else
anti-patterns:
- long-method
- long-parameter-list


extends:
- recommended
4 changes: 2 additions & 2 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

import 'package:flutter/material.dart';
import 'package:flutter_bloc/flutter_bloc.dart';
import 'package:flutter_web_plugins/url_strategy.dart';
import 'package:portfolio/screen/main/main_cubit.dart';
import 'package:portfolio/screen/main/main_screen.dart';
import 'package:url_strategy/url_strategy.dart';

// TODO : localization en, id.
// TODO : add frame to preview apps Inkare Company

void main() {
setPathUrlStrategy();
usePathUrlStrategy();
runApp(const App());
}

Expand Down
Loading

0 comments on commit 4450a1e

Please sign in to comment.