GiffyDialog.rive constructor
const
GiffyDialog.rive(
- RiveAnimation rive, {
- Key? key,
- GiffyBuilder giffyBuilder = defaultGiffyBuilder,
- EdgeInsetsGeometry? giffyPadding,
- Widget? title,
- EdgeInsetsGeometry? titlePadding,
- TextStyle? titleTextStyle,
- Widget? content,
- EdgeInsetsGeometry? contentPadding,
- TextStyle? contentTextStyle,
- List<
Widget> ? actions, - EdgeInsetsGeometry? actionsPadding,
- MainAxisAlignment? actionsAlignment,
- VerticalDirection? actionsOverflowDirection,
- double? actionsOverflowButtonSpacing,
- OverflowBarAlignment? actionsOverflowAlignment,
- EdgeInsetsGeometry? buttonPadding,
- Color? backgroundColor,
- double? elevation,
- Color? shadowColor,
- Color? surfaceTintColor,
- EdgeInsets insetPadding = _defaultInsetPadding,
- Clip clipBehavior = Clip.antiAlias,
- ShapeBorder? shape,
- AlignmentGeometry? alignment,
- String? semanticLabel,
- bool scrollable = false,
- EntryAnimation entryAnimation = EntryAnimation.none,
Creates a giffy dialog which uses a RiveAnimation as the giffy.
Implementation
const GiffyDialog.rive(
RiveAnimation rive, {
super.key,
this.giffyBuilder = defaultGiffyBuilder,
this.giffyPadding,
this.title,
this.titlePadding,
this.titleTextStyle,
this.content,
this.contentPadding,
this.contentTextStyle,
this.actions,
this.actionsPadding,
this.actionsAlignment,
this.actionsOverflowDirection,
this.actionsOverflowButtonSpacing,
this.actionsOverflowAlignment,
this.buttonPadding,
this.backgroundColor,
this.elevation,
this.shadowColor,
this.surfaceTintColor,
this.insetPadding = _defaultInsetPadding,
this.clipBehavior = Clip.antiAlias,
this.shape,
this.alignment,
this.semanticLabel,
this.scrollable = false,
this.entryAnimation = EntryAnimation.none,
}) : giffy = rive;