AxisSpec<D>.from constructor
AxisSpec<D>.from (
- AxisSpec<
D> other, { - RenderSpec<
D> ? renderSpec, - TickProviderSpec<
D> ? tickProviderSpec, - TickFormatterSpec<
D> ? tickFormatterSpec, - bool? showAxisLine,
- ScaleSpec<
D> ? scaleSpec,
Implementation
factory AxisSpec.from(
AxisSpec<D> other, {
RenderSpec<D>? renderSpec,
TickProviderSpec<D>? tickProviderSpec,
TickFormatterSpec<D>? tickFormatterSpec,
bool? showAxisLine,
ScaleSpec<D>? scaleSpec,
}) {
return AxisSpec(
renderSpec: renderSpec ?? other.renderSpec,
tickProviderSpec: tickProviderSpec ?? other.tickProviderSpec,
tickFormatterSpec: tickFormatterSpec ?? other.tickFormatterSpec,
showAxisLine: showAxisLine ?? other.showAxisLine,
scaleSpec: scaleSpec ?? other.scaleSpec,
);
}