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.
cloudsolutions-atoms/lib/views/widgets/buttons/app_icon_button2.dart

33 lines
969 B
Dart

// import 'package:flutter/material.dart';
// import 'package:font_awesome_flutter/font_awesome_flutter.dart';
// import 'package:test_sa/views/app_style/sizing.dart';
//
// class AIconButton2 extends StatelessWidget {
// final IconData iconData;
// final Color color;
// final VoidCallback onPressed;
//
// const AIconButton2({todo delete
// Key? key,
// this.iconData,
// this.onPressed,
// this.color,
// }) : super(key: key);
//
// @override
// Widget build(BuildContext context) {
// return Material(
// color: Colors.transparent,
// child: IconButton(
// highlightColor: color?.withOpacity(.5) ?? Theme.of(context).colorScheme.secondary.withOpacity(.5),
// color: color ?? Theme.of(context).colorScheme.secondary,
// icon: FaIcon(
// iconData,
// size: 24 * AppStyle.getScaleFactor(context),
// ),
// onPressed: onPressed,
// ),
// );
// }
// }