From f7f26c21c9845c65ff89af6a08e918ac2667003f Mon Sep 17 00:00:00 2001 From: suragch Date: Fri, 10 Feb 2023 12:37:57 +0800 Subject: [PATCH] handle warnings --- lib/src/base/mongol_text_painter.dart | 2 +- lib/src/editing/mongol_editable_text.dart | 2 ++ lib/src/editing/mongol_text_field.dart | 2 ++ lib/src/editing/text_selection/mongol_text_selection.dart | 2 ++ .../editing/text_selection/mongol_text_selection_controls.dart | 2 ++ 5 files changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/src/base/mongol_text_painter.dart b/lib/src/base/mongol_text_painter.dart index 32fb264..7294259 100644 --- a/lib/src/base/mongol_text_painter.dart +++ b/lib/src/base/mongol_text_painter.dart @@ -5,7 +5,7 @@ // found in the LICENSE file. import 'dart:math'; -import 'dart:ui' as ui show ParagraphStyle, TextStyle; +import 'dart:ui' as ui show ParagraphStyle; import 'package:flutter/foundation.dart'; import 'package:flutter/widgets.dart' diff --git a/lib/src/editing/mongol_editable_text.dart b/lib/src/editing/mongol_editable_text.dart index 4b4a527..3422566 100644 --- a/lib/src/editing/mongol_editable_text.dart +++ b/lib/src/editing/mongol_editable_text.dart @@ -4,6 +4,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// ignore_for_file: deprecated_member_use, deprecated_member_use_from_same_package + import 'dart:async'; import 'dart:math' as math; import 'dart:ui' as ui hide TextStyle; diff --git a/lib/src/editing/mongol_text_field.dart b/lib/src/editing/mongol_text_field.dart index d09420d..d72caec 100644 --- a/lib/src/editing/mongol_text_field.dart +++ b/lib/src/editing/mongol_text_field.dart @@ -4,6 +4,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// ignore_for_file: deprecated_member_use, deprecated_member_use_from_same_package + import 'package:flutter/cupertino.dart' show CupertinoTheme; import 'package:flutter/foundation.dart'; import 'package:flutter/gestures.dart'; diff --git a/lib/src/editing/text_selection/mongol_text_selection.dart b/lib/src/editing/text_selection/mongol_text_selection.dart index 2935d92..35ff89b 100644 --- a/lib/src/editing/text_selection/mongol_text_selection.dart +++ b/lib/src/editing/text_selection/mongol_text_selection.dart @@ -4,6 +4,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// ignore_for_file: deprecated_member_use_from_same_package, deprecated_member_use + import 'dart:math' as math; import 'package:flutter/foundation.dart' diff --git a/lib/src/editing/text_selection/mongol_text_selection_controls.dart b/lib/src/editing/text_selection/mongol_text_selection_controls.dart index b2069c0..5da1a5a 100644 --- a/lib/src/editing/text_selection/mongol_text_selection_controls.dart +++ b/lib/src/editing/text_selection/mongol_text_selection_controls.dart @@ -4,6 +4,8 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +// ignore_for_file: deprecated_member_use + import 'dart:math' as math; import 'package:flutter/material.dart' show Theme, TextSelectionTheme, Icons;