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 SizedBox(
    height: 1,
    child: Row(
      children: [
        Text(
          ' ${SimutilIcons.on} SimUtil v$packageVersion ',
          style: st.sectionHeader,
        ),
        if (themeName != null)
          Expanded(
            child: Text('Theme: ${themeName?.capitalize}', style: st.dimmed),
          ),
      ],
    ),
  );
}