23 lines
644 B
Dart
23 lines
644 B
Dart
import 'package:eva_icons_flutter/eva_icons_flutter.dart';
|
|
import 'package:flutter/material.dart';
|
|
import 'dart:math' as math;
|
|
|
|
import 'package:livekit_example/theme.dart';
|
|
|
|
class NoVideoWidget extends StatelessWidget {
|
|
//
|
|
const NoVideoWidget({Key? key}) : super(key: key);
|
|
|
|
@override
|
|
Widget build(BuildContext context) => Container(
|
|
alignment: Alignment.center,
|
|
child: LayoutBuilder(
|
|
builder: (ctx, constraints) => Icon(
|
|
EvaIcons.videoOffOutline,
|
|
color: LKColors.lkBlue,
|
|
size: math.min(constraints.maxHeight, constraints.maxWidth) * 0.3,
|
|
),
|
|
),
|
|
);
|
|
}
|