center method

Center center({
  1. double? width = double.infinity,
  2. double? height = double.infinity,
})

Implementation

Center center({double? width = double.infinity, double? height = double.infinity}) => Center(child: this);