flutter_readmore 0.0.2 copy "flutter_readmore: ^0.0.2" to clipboard
flutter_readmore: ^0.0.2 copied to clipboard


A new Flutter project.

readmore #

A Flutter plugin than allow expand and collapse text.

usage: #

add to your pubspec

flutter_readmore: ^0.0.2

and import:

import 'package:flutter_readmore/flutter_readmore.dart';
  'Flutter is Google’s mobile UI open source framework to build high-quality native (super fast) interfaces for iOS and Android apps with the unified codebase.',
  trimLines: 2,
  colorClickableText: Colors.pink,
  trimMode: TrimMode.Line,
  trimCollapsedText: 'Show more',
  trimExpandedText: 'Show less',
  moreStyle: TextStyle(fontSize: 14, fontWeight: FontWeight.bold),