INNER CODE UNIT · Dart

Bubble

AmitJoki/Enigma · lib/bubble.dart:7

class Bubble extends StatelessWidget {
  const Bubble(
      {@required this.child,
      @required this.timestamp,
      @required this.delivered,
      @required this.isMe,
      @required this.isContinuing});

  final int timestamp;
  final Widget child;
  final dynamic delivered;
  final bool isMe, isContinuing;

  humanReadableTime() => DateFormat('h:mm a')
      .format(DateTime.fromMillisecondsSinceEpoch(timestamp));

  getSeenStatus(seen) {
    if (seen is bool) return true;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…