NiceSplitter constructor

const NiceSplitter({
  1. Key? key,
  2. required List<Widget> children,
  3. Axis direction = Axis.horizontal,
  4. double initialRatio = 0.5,
  5. double minRatio = 0.1,
  6. double maxRatio = 0.9,
  7. double dividerWidth = 6,
  8. Color? dividerColor,
  9. ValueChanged<double>? onRatioChanged,
})

Implementation

const NiceSplitter({
  super.key,
  required this.children,
  this.direction = Axis.horizontal,
  this.initialRatio = 0.5,
  this.minRatio = 0.1,
  this.maxRatio = 0.9,
  this.dividerWidth = 6,
  this.dividerColor,
  this.onRatioChanged,
});