You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansu_ui/lib/extension/Text_extension.dart

10 lines
267 B

import 'package:ansu_ui/utils/match_text.dart';
import 'package:flutter/material.dart';
extension TextSpanExt on TextSpan {
TextSpan match(String match) {
return MatchText(matchText: match, text: this.text ?? '', style: this.style)
.matchSpan();
}
}