You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.6 KiB
Dart
48 lines
1.6 KiB
Dart
///todo deleted
|
|
// import 'package:flutter/material.dart';
|
|
// import 'package:flutter_svg/svg.dart';
|
|
// import 'package:test_sa/extensions/context_extension.dart';
|
|
// import 'package:test_sa/extensions/widget_extensions.dart';
|
|
// import 'package:test_sa/views/app_style/sizing.dart';
|
|
//
|
|
// import '../../../new_views/app_style/app_color.dart';
|
|
//
|
|
// class LandPageItem extends StatelessWidget {
|
|
// final String text;
|
|
// final IconData icon;
|
|
// final VoidCallback onPressed;
|
|
// final String svgPath;
|
|
//
|
|
// const LandPageItem({Key? key, this.svgPath, this.text, this.icon, this.onPressed}) : super(key: key);
|
|
//
|
|
// @override
|
|
// Widget build(BuildContext context) {
|
|
// return InkWell(
|
|
// onTap: onPressed,
|
|
// child: Column(
|
|
// crossAxisAlignment: CrossAxisAlignment.start,
|
|
// mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
// children: <Widget>[
|
|
// if (icon != null)
|
|
// Icon(
|
|
// icon,
|
|
// // color: AColors.primaryColor,
|
|
// size: 42 * AppStyle.getScaleFactor(context),
|
|
// ),
|
|
// if (svgPath != null)
|
|
// SvgPicture.asset(
|
|
// svgPath,
|
|
// width: 42 * AppStyle.getScaleFactor(context),
|
|
// height: 42 * AppStyle.getScaleFactor(context),
|
|
// // color: AColors.primaryColor,
|
|
// ),
|
|
// Text(text,
|
|
// style: TextStyle(
|
|
// color: context.isDark ? AppColor.neutral30 : AppColor.neutral50,
|
|
// )),
|
|
// ],
|
|
// ).toShadowContainer(context),
|
|
// );
|
|
// }
|
|
// }
|