INNER CODE UNIT · Dart

DescriptionText

jellyflix-app/jellyflix · lib/components/description_text.dart:9

class DescriptionText extends HookConsumerWidget {
  final String text;
  final int firstHalfLength;

  const DescriptionText(
      {super.key, required this.text, this.firstHalfLength = 200});

  @override
  Widget build(BuildContext context, WidgetRef ref) {
    JfxLayout layout = JfxLayout.scalingLayout(context);

    final showMoreState = useState(false);

    return LayoutBuilder(
      builder: (context, constraints) {
        final textSpan = TextSpan(
          text: text,
          style: layout.text.bodyLarge,

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…