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.
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
|
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
|
|
|
import 'package:velocity_x/velocity_x.dart';
|
|
|
|
|
|
|
|
import 'package:aku_new_community/base/base_style.dart';
|
|
|
|
|
|
|
|
class BeeRowTile extends StatelessWidget {
|
|
|
|
final String assetPath;
|
|
|
|
final String titile;
|
|
|
|
final Widget content;
|
|
|
|
|
|
|
|
const BeeRowTile(
|
|
|
|
{Key? key,
|
|
|
|
required this.assetPath,
|
|
|
|
required this.titile,
|
|
|
|
required this.content})
|
|
|
|
: super(key: key);
|
|
|
|
|
|
|
|
@override
|
|
|
|
Widget build(BuildContext context) {
|
|
|
|
return Row(
|
|
|
|
children: [
|
|
|
|
Image.asset(
|
|
|
|
assetPath,
|
|
|
|
width: 40.w,
|
|
|
|
height: 40.w,
|
|
|
|
),
|
|
|
|
12.w.widthBox,
|
|
|
|
titile.text.size(24.sp).color(ktextSubColor).make(),
|
|
|
|
Spacer(),
|
|
|
|
content,
|
|
|
|
],
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|