FFButtonWidget constructor

const FFButtonWidget({
  1. Key? key,
  2. required String text,
  3. required dynamic onPressed(),
  4. Widget? icon,
  5. IconData? iconData,
  6. required FFButtonOptions options,
  7. bool showLoadingIndicator = true,
})

Implementation

const FFButtonWidget({
  Key? key,
  required this.text,
  required this.onPressed,
  this.icon,
  this.iconData,
  required this.options,
  this.showLoadingIndicator = true,
}) : super(key: key);