From 09c0077e4badb97e1d343721c2daf19d2e394486 Mon Sep 17 00:00:00 2001 From: Bomsamdi <94292009+Bomsamdi@users.noreply.github.com> Date: Fri, 14 Oct 2022 04:06:53 +0200 Subject: [PATCH] Update README.md --- README.md | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 0d5b807..b64a9fa 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,36 @@ -## AutoScrollText +# AutoScrollText [AutoScrollText] is package for users which need a single line text widget without overlaping or TextOverflow.elipsis for long texts. ## Features -TODO: List what your package can do. Maybe include images, gifs, or videos. - -## Getting started - -TODO: List prerequisites and provide or point to information on how to -start using the package. +https://user-images.githubusercontent.com/94292009/195745400-79f7c6ba-bd4c-47ff-bea6-ee1e4d8bf44c.mp4 ## Usage +```dart +import 'package:auto_scroll_text/auto_scroll_text.dart'; + +Scaffold( + appBar: AppBar( + title: const Text("Horizontal Example"), + ), + body: Center( + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + crossAxisAlignment: CrossAxisAlignment.stretch, + children: const [ + AutoScrollText( + text: + "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's 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.", + textStyle: TextStyle(fontSize: 24), + ), + ], + ), + ), + ); +``` + Example usage in `/example` folder. ## Additional information