FTimePickerStyle.inherit constructor

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

Creates a FTimePickerStyle that inherits its properties.

Implementation

FTimePickerStyle.inherit({required FColors colors, required FStyle style, required FTypography typography})
  : this(
      textStyle: typography.base.copyWith(fontWeight: FontWeight.w500),
      selectionBorderRadius: style.borderRadius,
      selectionColor: colors.muted,
      selectionHeightAdjustment: 5,
      spacing: 2,
      focusedOutlineStyle: style.focusedOutlineStyle,
      padding: const EdgeInsetsDirectional.only(start: 10, end: 10),
    );