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.
aku_new_community/lib/ui/home/home_title.dart

42 lines
914 B

import 'package:flutter/cupertino.dart';
3 years ago
3 years ago
import 'package:aku_new_community/utils/headers.dart';
class HomeTitle extends StatelessWidget {
final String title;
final String suffixTitle;
final VoidCallback onTap;
const HomeTitle({
4 years ago
Key? key,
required this.title,
required this.suffixTitle,
required this.onTap,
}) : super(key: key);
@override
Widget build(BuildContext context) {
return Row(
children: [
title.text.size(32.sp).bold.make(),
Spacer(),
GestureDetector(
onTap: onTap,
child: Row(
children: [
suffixTitle.text.size(24.sp).color(Color(0xFF999999)).make(),
8.wb,
Icon(
CupertinoIcons.chevron_forward,
size: 24.w,
color: Color(0xFF999999),
),
],
),
),
],
);
}
}