FlipMatrixBoardSingleChild constructor

FlipMatrixBoardSingleChild({
  1. Key? key,
  2. required Widget child,
  3. required Axis axis,
  4. required double width,
  5. required double height,
  6. required int columnCount,
  7. required int rowCount,
  8. int minAnimationMillis = 1000,
  9. int maxAnimationMillis = 3000,
  10. int maxDelayMillis = 4000,
  11. Color? backgroundColor,
})

FlipMatrixBoardSingleChild constructor.

Configure this FlipBoard with the number of rows and columns, flipping orientation and animation speed and delay parameters.

Recieves a single child widget that will be displayed through all cell animations

Implementation

FlipMatrixBoardSingleChild({
  Key? key,
  required Widget child,
  required Axis axis,
  required double width,
  required double height,
  required int columnCount,
  required int rowCount,
  int minAnimationMillis = 1000,
  int maxAnimationMillis = 3000,
  int maxDelayMillis = 4000,
  Color? backgroundColor,
})  : _builder = SingleChildFlipMatrixBoardBuilder(
        child: child,
        axis: axis,
        width: width,
        height: height,
        columnCount: columnCount,
        rowCount: rowCount,
        minAnimationMillis: minAnimationMillis,
        maxAnimationMillis: maxAnimationMillis,
        maxDelayMillis: maxDelayMillis,
        backgroundColor: backgroundColor,
      ),
      super(key: key);