FabConfiguration constructor

const FabConfiguration({
  1. String? icon,
  2. double? iconSize,
  3. String? iconColor,
  4. String? backgroundColor,
  5. double? buttonSize,
  6. double? borderRadius,
  7. bool? useAvatarAsIcon,
})

Implementation

const factory FabConfiguration({
  /// Icon name for the FAB button (e.g., 'chat_bubble').
  String? icon,

  /// Size of the icon inside the FAB in logical pixels.
  double? iconSize,

  /// Color of the icon in hex format.
  String? iconColor,

  /// Background color of the FAB in hex format.
  String? backgroundColor,

  /// Size of the entire FAB button in logical pixels.
  double? buttonSize,

  /// Border radius for rounded corners in logical pixels.
  double? borderRadius,

  /// Whether to use the bot's avatar image as the FAB icon.
  bool? useAvatarAsIcon,
}) = _FabConfiguration;