totalButtonHeight method Null safety

  1. @override
double totalButtonHeight(
  1. double height,
  2. double buttonHeight
)
override

Implementation

@override
double totalButtonHeight(double height, double buttonHeight) =>
    (height - numRows * buttonHeight) / numRows * buttonHeight + buttonHeight;