cardStyle static method

dynamic cardStyle(
  1. bool dark
)

Implementation

static cardStyle(bool dark) => const CardTheme().copyWith(
      color: scaffoldBackgroundColor(dark),
      surfaceTintColor: scaffoldBackgroundColor(dark),
      elevation: 10,
      clipBehavior: Clip.antiAliasWithSaveLayer,
      shape: RoundedRectangleBorder(
        borderRadius: BorderRadius.circular(20),
      ),
    );