flutter_streaming_text_markdown 1.4.0 copy "flutter_streaming_text_markdown: ^1.4.0" to clipboard
flutter_streaming_text_markdown: ^1.4.0 copied to clipboard

A Flutter package for beautiful LLM text streaming with markdown support. Perfect for ChatGPT-like interfaces with typing animations, RTL support, and customizable effects.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'widgets/hero_section.dart';
import 'widgets/playground.dart';
import 'widgets/feature_cards.dart';
import 'widgets/footer.dart';

void main() => runApp(const MyApp());

class MyApp extends StatefulWidget {
  const MyApp({super.key});
  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  bool _dark = true;

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'flutter_streaming_text_markdown',
      debugShowCheckedModeBanner: false,
      theme: ThemeData(
        brightness: _dark ? Brightness.dark : Brightness.light,
        colorSchemeSeed: const Color(0xFF00BCD4),
        scaffoldBackgroundColor: _dark ? const Color(0xFF0A0A0A) : const Color(0xFFFAFAFA),
        useMaterial3: true,
      ),
      home: Scaffold(
        body: SafeArea(
          child: Center(
            child: ConstrainedBox(
              constraints: const BoxConstraints(maxWidth: 800),
              child: ListView(
                padding: const EdgeInsets.symmetric(horizontal: 16),
                children: [
                  Align(
                    alignment: Alignment.topRight,
                    child: IconButton(
                      icon: Icon(_dark ? Icons.light_mode : Icons.dark_mode, size: 20),
                      onPressed: () => setState(() => _dark = !_dark),
                    ),
                  ),
                  const HeroSection(),
                  const Playground(),
                  const FeatureCards(),
                  const SizedBox(height: 24),
                  const DemoFooter(),
                ],
              ),
            ),
          ),
        ),
      ),
    );
  }
}
40
likes
160
points
2.71k
downloads

Publisher

verified publisherdilacode.com

Weekly Downloads

A Flutter package for beautiful LLM text streaming with markdown support. Perfect for ChatGPT-like interfaces with typing animations, RTL support, and customizable effects.

Repository (GitHub)
View/report issues

Topics

#llm #streaming #markdown #animation #ai

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

characters, flutter, gpt_markdown

More

Packages that depend on flutter_streaming_text_markdown