baseColor property

Color? baseColor
final

The 🎨 Color to use for this 🌟 Surface.

If color or baseColor is initialized, then initializing the respective Gradient parameter overrides the Color pass.

If not initialized, then default as follows:

  • color - Theme.of(context).colorScheme.surface.withOpacity(0.3)
  • baseColor - Theme.of(context).colorScheme.primaryVariant.withOpacity(0.3)

Implementation

final Color? color, baseColor;