flutter_read_more_text 0.0.1 copy "flutter_read_more_text: ^0.0.1" to clipboard
flutter_read_more_text: ^0.0.1 copied to clipboard

Read more/Show less animated widget.

example/lib/main.dart

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

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

class MyApp extends StatefulWidget {
  @override
  _MyAppState createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  @override
  Widget build(BuildContext context) {
    final text = 'What is Lorem Ipsum?\nLorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum';
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        body: ReadMoreText(text),
      ),
    );
  }
}
5
likes
30
pub points
60%
popularity

Publisher

unverified uploader

Read more/Show less animated widget.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on flutter_read_more_text