custom_text 0.6.0-dev.2 copy "custom_text: ^0.6.0-dev.2" to clipboard
custom_text: ^0.6.0-dev.2 copied to clipboard

outdated

A highly customisable text widget that allows styles and gestures to be applied to strings in it flexibly.

example/lib/main.dart

import 'package:flutter/material.dart';

import 'package:custom_text_example/common/router.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'CustomText Demo',
      theme: ThemeData(
        primarySwatch: Colors.blueGrey,
        textTheme: const TextTheme(
          bodyText1: TextStyle(fontWeight: FontWeight.normal, height: 1.2),
          bodyText2: TextStyle(fontSize: 18.0, height: 1.5),
        ),
      ),
      routeInformationParser: router.routeInformationParser,
      routerDelegate: router.routerDelegate,
    );
  }
}
110
likes
0
points
780
downloads

Publisher

verified publisherkaboc.cc

Weekly Downloads

A highly customisable text widget that allows styles and gestures to be applied to strings in it flexibly.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, meta, text_parser

More

Packages that depend on custom_text