ShakeConfig constructor
const
ShakeConfig({})
Public const constructor.
No runtime asserts here, recommend use ShakeConfig.create for validation.
Implementation
const ShakeConfig({
required this.offsets,
required this.weights,
this.duration = const Duration(milliseconds: 600),
this.curve = Curves.easeOut,
this.axis = ShakeAxis.horizontal,
});