AAGridButton constructor

AAGridButton({
  1. required List<String> titleVariants,
  2. String? image,
  3. String? loadingMessage,
  4. Future<void> onPress(
    1. dynamic complete(),
    2. AAGridButton self
    )?,
})

Implementation

AAGridButton({
  required this.titleVariants,
  this.image,
  this.loadingMessage,
  this.onPress,
})  : assert(titleVariants.isNotEmpty, 'titleVariants must not be empty'),
      _elementId = const Uuid().v4();