flutter_text_styled 0.1.0 copy "flutter_text_styled: ^0.1.0" to clipboard
flutter_text_styled: ^0.1.0 copied to clipboard

outdated

Flutter package to get styled Text with basic HTML text tags.

example/Example.dart

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

class StyledPage extends StatefulWidget {
  @override
  _StyledPageState createState() => _StyledPageState();
}

class _StyledPageState extends State<StyledPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("Title"),
      ),
      body: Padding(
        padding: const EdgeInsets.all(8.0),
        child: SingleChildScrollView(
          child: Wrap(
            children: TextStyled().getStyledTextWidgets(
                "This is normal text with [b]bold text[/b] [i]italic text[/i] [u]underlined text[/u] and [b][i][u]mixed styled[/b][/i][/u]"),
          ),
        ),
      ),
    );
  }
}
9
likes
0
pub points
79%
popularity

Publisher

unverified uploader

Flutter package to get styled Text with basic HTML text tags.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_text_styled