Skip to content

Commit

Permalink
cleanup and ignore certain warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
suragch committed Jun 10, 2021
1 parent fd6e649 commit 8024815
Show file tree
Hide file tree
Showing 15 changed files with 665 additions and 1,321 deletions.
4 changes: 3 additions & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,6 @@ analyzer:

linter:
rules:
- camel_case_types
camel_case_types: true
todo: false
omit_local_variable_types: false
2 changes: 2 additions & 0 deletions lib/src/editing/mongol_editable_text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import 'package:mongol/src/editing/text_selection/mongol_text_selection.dart';

import 'mongol_text_editing_action.dart';

// ignore_for_file: todo

// The time it takes for the cursor to fade from fully opaque to fully
// transparent and vice versa. A full cursor blink, from transparent to opaque
// to transparent, is twice this duration.
Expand Down
3 changes: 3 additions & 0 deletions lib/src/editing/mongol_render_editable.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ import 'package:flutter/services.dart';
import 'package:mongol/src/base/mongol_text_align.dart';
import 'package:mongol/src/base/mongol_text_painter.dart';

// ignore_for_file: deprecated_member_use_from_same_package
// ignore_for_file: todo

const double _kCaretGap = 1.0; // pixels
const double _kCaretWidthOffset = 2.0; // pixels

Expand Down
1 change: 0 additions & 1 deletion lib/src/editing/mongol_text_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import 'package:mongol/src/base/mongol_text_align.dart';
import 'alignment.dart';
import 'mongol_editable_text.dart';
import 'mongol_input_decorator.dart';
import '../base/mongol_text_painter.dart';
import 'text_selection/mongol_text_selection.dart';
import 'text_selection/mongol_text_selection_controls.dart';

Expand Down
Loading

0 comments on commit 8024815

Please sign in to comment.