custom_text 0.8.0 copy "custom_text: ^0.8.0" to clipboard
custom_text: ^0.8.0 copied to clipboard

A highly customisable text widget that enables decorations and gestures on strings.

example/lib/main.dart

import 'package:flutter/material.dart';

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

void main() => runApp(const App());

class App extends StatelessWidget {
  const App();

  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      title: 'CustomText Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSwatch(
          primarySwatch: Colors.blueGrey,
        ).copyWith(primary: Colors.grey.shade800),
        textTheme: const TextTheme(
          bodyLarge: TextStyle(fontWeight: FontWeight.normal, height: 1.2),
          bodyMedium: TextStyle(fontSize: 18.0, height: 1.5),
        ),
      ),
      routeInformationProvider: router.routeInformationProvider,
      routeInformationParser: router.routeInformationParser,
      routerDelegate: router.routerDelegate,
    );
  }
}
87
likes
120
pub points
85%
popularity
screenshot

Publisher

verified publisherkaboc.cc

A highly customisable text widget that enables decorations and gestures on strings.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, meta, text_parser

More

Packages that depend on custom_text