AndrossySwitchContent<T> constructor
const
AndrossySwitchContent<T> ({
- required T active,
- T? inactive,
Implementation
const AndrossySwitchContent({
required this.active,
T? inactive,
}) : inactive = inactive ?? active;