app_ritch_txt 0.0.2 copy "app_ritch_txt: ^0.0.2" to clipboard
app_ritch_txt: ^0.0.2 copied to clipboard

A lightweight Flutter widget to easily display rich text with customizable normal and bold parts. Ideal for highlighting important words or phrases in a simple way.

example/main.dart

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

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'AppRichTxt Example',
      theme: ThemeData(primarySwatch: Colors.blue),
      home: const ExampleHomePage(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text('AppRichTxt Demo')),
      body: const Center(
        child: AppRichTxt(
          fstTxt: 'This text is normal and ',
          boldTxt: 'this text is bold.',
        ),
      ),
    );
  }
}
0
likes
150
points
42
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter widget to easily display rich text with customizable normal and bold parts. Ideal for highlighting important words or phrases in a simple way.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on app_ritch_txt