text_plus 0.4.0 copy "text_plus: ^0.4.0" to clipboard
text_plus: ^0.4.0 copied to clipboard

This pakcage is a wrapper for the Text widget that allows you to use the same widget with different styles in the same text.

example/lib/main.dart

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

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

class MyApp extends StatelessWidget {
  const MyApp({super.key});
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: TextPlusExample(),
    );
  }
}

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

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: Center(
        child: TextPlus(
          'Hello _ world_!, ..this.. is *simple* ~example~ *text* with _multistyles_',
          style: TextStyle(fontSize: 64),
          textAlign: TextAlign.center,
        ),
      ),
    );
  }
}
3
likes
160
points
25
downloads

Publisher

unverified uploader

Weekly Downloads

This pakcage is a wrapper for the Text widget that allows you to use the same widget with different styles in the same text.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on text_plus