configDefaultThemeData method

PairInfoTableConfig configDefaultThemeData(
  1. PairInfoTableConfig? themeData, {
  2. double? rowDistance,
  3. double? itemSpacing,
})

Implementation

PairInfoTableConfig configDefaultThemeData(PairInfoTableConfig? themeData,
    {double? rowDistance, double? itemSpacing}) {
  PairInfoTableConfig defaultThemeData;
  defaultThemeData = themeData ?? PairInfoTableConfig();
  defaultThemeData = defaultThemeData.merge(
      PairInfoTableConfig(rowSpacing: rowDistance, itemSpacing: itemSpacing));
  defaultThemeData = BaseThemeConfig.instance
      .getConfig(configId: defaultThemeData.configId)
      .pairInfoTableConfig
      .merge(defaultThemeData);
  return defaultThemeData;
}