persian_type_effect 0.0.1 copy "persian_type_effect: ^0.0.1" to clipboard
persian_type_effect: ^0.0.1 copied to clipboard

A Flutter package to show Persian text with a smooth typing animation effect, perfect for UI text animations.

example/lib/main.dart

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

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

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

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
    
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const SimpleExample(exampleText: 'خوش آمدید.')
    );
  }
}

class SimpleExample extends StatelessWidget {
  final String exampleText;
  const SimpleExample({super.key, required this.exampleText});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: PersianTypeEffect(text: exampleText,duration:const Duration(seconds: 10),),
      ),
    );
  }
}
0
likes
150
points
10
downloads

Publisher

verified publisheramirrezakhezerlou.ir

Weekly Downloads

A Flutter package to show Persian text with a smooth typing animation effect, perfect for UI text animations.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on persian_type_effect