build method

  1. @override
Component build(
  1. BuildContext context
)

Describes the part of the user interface represented by this component.

Implementation

@override
Component build(BuildContext context) {
  final st = context.simutilTheme;

  return Container(
    decoration: focused
        ? st.focusedPanel('Details')
        : st.unfocusedPanel('Details'),
    padding: EdgeInsets.symmetric(horizontal: 1),
    child: device != null ? _buildInfo(st, device!) : _buildEmpty(st),
  );
}