ghost_font 1.0.3 copy "ghost_font: ^1.0.3" to clipboard
ghost_font: ^1.0.3 copied to clipboard

A Flutter package that creates the viral Ghost Font effect. The text is rendered as moving noise, making it invisible in static screenshots.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:ghost_font/ghost_font.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: false,
      title: 'Ghost Text Example',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const ExampleScreen(),
    );
  }
}

class ExampleScreen extends StatelessWidget {
  const ExampleScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      appBar: AppBar(title: const Text('Ghost Font Animation')),
      body: const Center(
        child: SizedBox(
          width: double.infinity,
          height: 300,
          child: GhostFont(
            text: 'GHOST',
            fontSize: 100,
            patternColor: Colors.black,
            backgroundColor: Colors.white,
            speed: 50.0,
            noiseScale: 2.0,
          ),
        ),
      ),
    );
  }
}
2
likes
160
points
202
downloads

Documentation

API reference

Publisher

verified publisherbalochcodes.com

Weekly Downloads

A Flutter package that creates the viral Ghost Font effect. The text is rendered as moving noise, making it invisible in static screenshots.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on ghost_font