cardWithIcon method

Widget cardWithIcon(
  1. BuildContext context
)

Implementation

Widget cardWithIcon(BuildContext context) {
  return Row(
    children: [
      Expanded(
        child: Card(
          child: Padding(
            padding: const EdgeInsets.all(8.0),
            child: Row(
              children: [
                Icon(Icons.check_circle_outline),
                Text(
                  "Card with icon",
                  style: Theme.of(context).textTheme.bodyLarge,
                ),
              ],
            ),
          ),
        ),
      ),
    ],
  );
}