From db7f020f1553045b21aaef09f795899ebd5181b9 Mon Sep 17 00:00:00 2001 From: iamstanlee Date: Thu, 3 Jun 2021 20:16:21 -0700 Subject: [PATCH] changed pkg name to linkfy_text --- example/pubspec.lock | 2 +- example/pubspec.yaml | 2 +- lib/src/linkify.dart | 6 +++--- lib/src/model/link.dart | 4 ++-- lib/src/utils/regex.dart | 2 +- pubspec.yaml | 2 +- test/utils/regex_test.dart | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/example/pubspec.lock b/example/pubspec.lock index 6d11fc9..a630e8b 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -67,7 +67,7 @@ packages: description: flutter source: sdk version: "0.0.0" - linkify_text: + linkfy_text: dependency: "direct main" description: path: ".." diff --git a/example/pubspec.yaml b/example/pubspec.yaml index bbe13a0..d21de0e 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -23,7 +23,7 @@ environment: dependencies: flutter: sdk: flutter - linkify_text: + linkfy_text: path: ../ diff --git a/lib/src/linkify.dart b/lib/src/linkify.dart index ba32853..94cc310 100644 --- a/lib/src/linkify.dart +++ b/lib/src/linkify.dart @@ -1,8 +1,8 @@ import 'package:flutter/gestures.dart'; import 'package:flutter/widgets.dart'; -import 'package:linkify_text/src/enum.dart'; -import 'package:linkify_text/src/model/link.dart'; -import 'package:linkify_text/src/utils/regex.dart'; +import 'package:linkfy_text/src/enum.dart'; +import 'package:linkfy_text/src/model/link.dart'; +import 'package:linkfy_text/src/utils/regex.dart'; /// Linkify [text] containing urls, emails or hashtag class LinkifyText extends StatelessWidget { diff --git a/lib/src/model/link.dart b/lib/src/model/link.dart index d6d74a6..4ecec54 100644 --- a/lib/src/model/link.dart +++ b/lib/src/model/link.dart @@ -1,5 +1,5 @@ -import 'package:linkify_text/src/enum.dart'; -import 'package:linkify_text/src/utils/regex.dart'; +import 'package:linkfy_text/src/enum.dart'; +import 'package:linkfy_text/src/utils/regex.dart'; class Link { String? _value; diff --git a/lib/src/utils/regex.dart b/lib/src/utils/regex.dart index 0b6a5c6..53a815b 100644 --- a/lib/src/utils/regex.dart +++ b/lib/src/utils/regex.dart @@ -1,4 +1,4 @@ -import 'package:linkify_text/src/enum.dart'; +import 'package:linkfy_text/src/enum.dart'; String urlRegExp = r'(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-?=%.]+'; diff --git a/pubspec.yaml b/pubspec.yaml index 90d3fc7..ff9389f 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,4 +1,4 @@ -name: linkify_text +name: linkfy_text description: A lightweight flutter package to linkify texts containing urls, emails and hashtags. version: 1.0.0 author: diff --git a/test/utils/regex_test.dart b/test/utils/regex_test.dart index 1975754..e3724cf 100644 --- a/test/utils/regex_test.dart +++ b/test/utils/regex_test.dart @@ -1,5 +1,5 @@ -import 'package:linkify_text/src/enum.dart'; -import 'package:linkify_text/src/utils/regex.dart'; +import 'package:linkfy_text/src/enum.dart'; +import 'package:linkfy_text/src/utils/regex.dart'; import 'package:test/test.dart'; void main() {