changed pkg name to linkfy_text
This commit is contained in:
parent
af7621bec8
commit
db7f020f15
|
@ -67,7 +67,7 @@ packages:
|
|||
description: flutter
|
||||
source: sdk
|
||||
version: "0.0.0"
|
||||
linkify_text:
|
||||
linkfy_text:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: ".."
|
||||
|
|
|
@ -23,7 +23,7 @@ environment:
|
|||
dependencies:
|
||||
flutter:
|
||||
sdk: flutter
|
||||
linkify_text:
|
||||
linkfy_text:
|
||||
path: ../
|
||||
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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/\-?=%.]+';
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue