fitur method

Widget fitur(
  1. String fitur,
  2. dynamic assets,
  3. dynamic onTap()
)

Implementation

Widget fitur(String fitur, assets, Function() onTap) {
  return GestureDetector(
    onTap: onTap,
    child: Container(
      margin: EdgeInsets.all(8),
      child: Column(
        children: [
          Icon(assets),
          DefaultText(
            textLabel: fitur,
          )
        ],
      ),
    ),
  );
}