feat: search video by pubtime

This commit is contained in:
bggRGjQaUbCoE
2024-10-25 18:50:24 +08:00
parent dc68d088df
commit b5a9393a1e
4 changed files with 268 additions and 81 deletions

View File

@@ -8,6 +8,7 @@ class SearchText extends StatelessWidget {
final double? fontSize;
final Color? bgColor;
final Color? textColor;
final TextAlign? textAlign;
const SearchText({
super.key,
this.searchText,
@@ -17,6 +18,7 @@ class SearchText extends StatelessWidget {
this.fontSize,
this.bgColor,
this.textColor,
this.textAlign,
});
@override
@@ -40,6 +42,7 @@ class SearchText extends StatelessWidget {
const EdgeInsets.only(top: 5, bottom: 5, left: 11, right: 11),
child: Text(
searchText!,
textAlign: textAlign,
style: TextStyle(
fontSize: fontSize,
color: