My screen's build method is 300 lines, so I split it into private methods such as Widget _buildHeader() and Widget _buildChart(). A reviewer says these should be separate StatelessWidget classes instead, because of performance and because "functions are not widgets". The screen calls setState about ten times per second when new samples arrive.
Is there a real technical difference, or is this only a style preference?




