changed pkg name to linkfy_text

This commit is contained in:
iamstanlee 2021-06-03 20:16:21 -07:00
parent af7621bec8
commit db7f020f15
7 changed files with 11 additions and 11 deletions

View File

@ -67,7 +67,7 @@ packages:
description: flutter description: flutter
source: sdk source: sdk
version: "0.0.0" version: "0.0.0"
linkify_text: linkfy_text:
dependency: "direct main" dependency: "direct main"
description: description:
path: ".." path: ".."

View File

@ -23,7 +23,7 @@ environment:
dependencies: dependencies:
flutter: flutter:
sdk: flutter sdk: flutter
linkify_text: linkfy_text:
path: ../ path: ../

View File

@ -1,8 +1,8 @@
import 'package:flutter/gestures.dart'; import 'package:flutter/gestures.dart';
import 'package:flutter/widgets.dart'; import 'package:flutter/widgets.dart';
import 'package:linkify_text/src/enum.dart'; import 'package:linkfy_text/src/enum.dart';
import 'package:linkify_text/src/model/link.dart'; import 'package:linkfy_text/src/model/link.dart';
import 'package:linkify_text/src/utils/regex.dart'; import 'package:linkfy_text/src/utils/regex.dart';
/// Linkify [text] containing urls, emails or hashtag /// Linkify [text] containing urls, emails or hashtag
class LinkifyText extends StatelessWidget { class LinkifyText extends StatelessWidget {

View File

@ -1,5 +1,5 @@
import 'package:linkify_text/src/enum.dart'; import 'package:linkfy_text/src/enum.dart';
import 'package:linkify_text/src/utils/regex.dart'; import 'package:linkfy_text/src/utils/regex.dart';
class Link { class Link {
String? _value; String? _value;

View File

@ -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/\-?=%.]+'; String urlRegExp = r'(?:(?:https?|ftp):\/\/)?[\w/\-?=%.]+\.[\w/\-?=%.]+';

View File

@ -1,4 +1,4 @@
name: linkify_text name: linkfy_text
description: A lightweight flutter package to linkify texts containing urls, emails and hashtags. description: A lightweight flutter package to linkify texts containing urls, emails and hashtags.
version: 1.0.0 version: 1.0.0
author: author:

View File

@ -1,5 +1,5 @@
import 'package:linkify_text/src/enum.dart'; import 'package:linkfy_text/src/enum.dart';
import 'package:linkify_text/src/utils/regex.dart'; import 'package:linkfy_text/src/utils/regex.dart';
import 'package:test/test.dart'; import 'package:test/test.dart';
void main() { void main() {