INNER CODE UNIT · Dart

MenuCaption

retromp3/retro · lib/menu.dart:32

class MenuCaption extends StatelessWidget {
  final String text;

  const MenuCaption({
    Key? key,
    String? text,
  })  : this.text = text ?? '',
        super(key: key);

  @override
  Widget build(BuildContext context) {
    return BlocBuilder<PlayerBloc, PlayerState>(
      builder: (BuildContext ctx, PlayerState state) {
        final bool isPlaying = state is NowPlayingState &&
          state.playbackState == PlaybackStateModel.playing;
        return Container(
          height: 25,
          width: double.infinity,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…