hashtagtext 0.0.1
hashtagtext: ^0.0.1

Flutter Android iOS web

HashTagText will detect all hastags in string.

example/main.dart

import 'package:flutter/material.dart';
import 'package:hashtagtext/hashtagtext.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: SafeArea(
          child: Container(
            child: Center(child: HashTagText(text: "I will found and #highlight all #tag and #make it #clickable", onHashTagClick: (tag){
              print("You clicked on $tag");
            },),),
          ),
        ),
      ),
    );
  }
}
1
likes
80
pub points
51%
popularity

HashTagText will detect all hastags in string.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

shmehdi01@gmail.com

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on hashtagtext