FAutocompleteContentStyle.inherit constructor

FAutocompleteContentStyle.inherit({
  1. required FColors colors,
  2. required FTypography typography,
  3. required FStyle style,
  4. required bool touch,
})

Creates a FAutocompleteContentStyle that inherits its properties.

Implementation

new inherit({required FColors colors, required FTypography typography, required FStyle style, required bool touch})
  : this(
      emptyTextStyle: typography.body.sm,
      progressStyle: .inherit(colors: colors),
      sectionStyle: .inherit(colors: colors, style: style, typography: typography, touch: touch),
      padding: const .symmetric(vertical: 6),
      decoration: FPopoverStyle.inherit(colors: colors, style: style).decoration,
    );