///todo deleted // import 'package:flutter/material.dart'; // import 'package:test_sa/extensions/int_extensions.dart'; // import 'package:test_sa/extensions/widget_extensions.dart'; // import 'package:test_sa/views/app_style/sizing.dart'; // // class DrawerItem extends StatelessWidget { // final String title; // final IconData icon; // final VoidCallback onPressed; // // const DrawerItem({Key? key, this.title, this.icon, this.onPressed}) : super(key: key); // // @override // Widget build(BuildContext context) { // return Padding( // padding: const EdgeInsets.all(0.0), // child: ElevatedButton( // style: ElevatedButton.styleFrom( // padding: EdgeInsets.zero, // elevation: 0, // shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(AppStyle.getBorderRadius(context))), // primary: Theme.of(context).colorScheme.onPrimary, // ), // onPressed: onPressed, // child: Row( // children: [ // Icon(icon, /*color: AColors.grey3A,*/ size: 20), // 12.width, // Text( // title, // style: Theme.of(context).textTheme.headline6.copyWith( // fontSize: 14, /* color: AColors.grey3A*/ // ), // textScaleFactor: AppStyle.getScaleFactor(context), // ), // ], // ).paddingOnly(start: 20, end: 20), // ), // ); // } // }