Compare commits

...

2 Commits

Author SHA1 Message Date
JohnE 40330ad1af NEW: 'linkify' all around, no more confusion, you dirty dogs 2025-10-06 20:33:03 -07:00
JohnE 44862c7672 MOD: version bump to 1.2.0 because we are improved 2025-10-06 20:32:40 -07:00
9 changed files with 18 additions and 51 deletions

View File

@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:linkfy_text/linkfy_text.dart';
import 'package:linkify_text/linkify_text.dart';
void main() {
runApp(const MyApp());

View File

@ -139,13 +139,13 @@ packages:
url: "https://pub.dev"
source: hosted
version: "3.0.2"
linkfy_text:
linkify_text:
dependency: "direct main"
description:
path: ".."
relative: true
source: path
version: "1.1.6"
version: "1.2.1"
lints:
dependency: transitive
description:

View File

@ -23,7 +23,7 @@ dependencies:
flutter:
sdk: flutter
google_fonts: ^6.2.1
linkfy_text:
linkify_text:
path: ../
# The following adds the Cupertino Icons font to your application.

View File

@ -1,5 +1,5 @@
/// A lightweight flutter package to linkify texts containing urls, emails and hashtags.
library linkfy_text;
library linkify_text;
export 'src/enum.dart';
export 'src/linkify.dart';

View File

@ -2,9 +2,9 @@ import 'dart:ui' as ui show BoxHeightStyle, BoxWidthStyle;
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:linkfy_text/src/enum.dart';
import 'package:linkfy_text/src/model/link.dart';
import 'package:linkfy_text/src/utils/regex.dart';
import 'package:linkify_text/src/enum.dart';
import 'package:linkify_text/src/model/link.dart';
import 'package:linkify_text/src/utils/regex.dart';
/// Linkify [text] containing urls, emails or hashtag
class LinkifyText extends StatelessWidget {

View File

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

View File

@ -1,4 +1,4 @@
import 'package:linkfy_text/src/enum.dart';
import 'package:linkify_text/src/enum.dart';
// url regex that accept https, http, www, subdomains, ports and paths
String urlRegExp =

View File

@ -1,7 +1,7 @@
name: linkfy_text
description: A lightweight flutter package to linkify texts containing urls, emails and hashtags like twitter does.
version: 1.1.6
homepage: https://github.com/Iamstanlee/linkfy_text
name: linkify_text
description: A lightweight flutter package to linkify texts containing urls, emails and hashtags
version: 1.2.0
homepage: https://git.malloc.io/j3g/lum_linkify_text
environment:
sdk: '>=3.2.6 <4.0.0'
@ -17,40 +17,6 @@ dev_dependencies:
test: ^1.16.5
lint: ^1.5.3
# For information on the generic Dart part of this file, see the
# following page: https://dart.dev/tools/pub/pubspec
# The following section is specific to Flutter.
flutter:
uses-material-design: true
# To add assets to your package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware.
# To add custom fonts to your package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages

View File

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