Skip to content

Commit f7f26c2

Browse files
committed
handle warnings
1 parent e621345 commit f7f26c2

5 files changed

+9
-1
lines changed

lib/src/base/mongol_text_painter.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// found in the LICENSE file.
66

77
import 'dart:math';
8-
import 'dart:ui' as ui show ParagraphStyle, TextStyle;
8+
import 'dart:ui' as ui show ParagraphStyle;
99

1010
import 'package:flutter/foundation.dart';
1111
import 'package:flutter/widgets.dart'

lib/src/editing/mongol_editable_text.dart

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// Use of this source code is governed by a BSD-style license that can be
55
// found in the LICENSE file.
66

7+
// ignore_for_file: deprecated_member_use, deprecated_member_use_from_same_package
8+
79
import 'dart:async';
810
import 'dart:math' as math;
911
import 'dart:ui' as ui hide TextStyle;

lib/src/editing/mongol_text_field.dart

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// Use of this source code is governed by a BSD-style license that can be
55
// found in the LICENSE file.
66

7+
// ignore_for_file: deprecated_member_use, deprecated_member_use_from_same_package
8+
79
import 'package:flutter/cupertino.dart' show CupertinoTheme;
810
import 'package:flutter/foundation.dart';
911
import 'package:flutter/gestures.dart';

lib/src/editing/text_selection/mongol_text_selection.dart

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// Use of this source code is governed by a BSD-style license that can be
55
// found in the LICENSE file.
66

7+
// ignore_for_file: deprecated_member_use_from_same_package, deprecated_member_use
8+
79
import 'dart:math' as math;
810

911
import 'package:flutter/foundation.dart'

lib/src/editing/text_selection/mongol_text_selection_controls.dart

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
// Use of this source code is governed by a BSD-style license that can be
55
// found in the LICENSE file.
66

7+
// ignore_for_file: deprecated_member_use
8+
79
import 'dart:math' as math;
810

911
import 'package:flutter/material.dart' show Theme, TextSelectionTheme, Icons;

0 commit comments

Comments
 (0)