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() {