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