You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bartosz Wróbel
4897220294
|
11 months ago | |
---|---|---|
example | 2 years ago | |
lib | 2 years ago | |
screenshots | 2 years ago | |
test | 2 years ago | |
.gitignore | 2 years ago | |
.metadata | 2 years ago | |
CHANGELOG.md | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 11 months ago | |
analysis_options.yaml | 2 years ago | |
pubspec.yaml | 2 years ago |
README.md
AutoScrollText
[AutoScrollText] is package for users which need a single line text widget without overlaping or TextOverflow.elipsis for long texts.
Installation
Include your package in your pubspec.yaml
file:
dependencies:
auto_scroll_text: ^0.0.6
Features
Usage
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 <Widget>[
AutoScrollText(
"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
[AutoScrollText] is a solution when you need text widget for long texts without overlaping or overflow.elipsis [AutoScrollText] supports both directions [Axis.horizontal] and [Axis.vertical]