FAutocompleteContentStyle.inherit constructor

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

Creates a FAutocompleteContentStyle that inherits its properties.

Implementation

FAutocompleteContentStyle.inherit({required super.colors, required FTypography typography, required super.style})
  : emptyTextStyle = typography.sm,
    progressStyle = .inherit(colors: colors),
    sectionStyle = .inherit(colors: colors, style: style, typography: typography),
    padding = const .symmetric(vertical: 5),
    super.inherit();