marquee_flutter 0.1.4 copy "marquee_flutter: ^0.1.4" to clipboard
marquee_flutter: ^0.1.4 copied to clipboard

A Marquee widght with ListView,Can scroll vertically or horizontally

example/example.dart

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


class MarqueeWidgetDemo extends StatelessWidget{
  @override
  Widget build(BuildContext context) {
    return new Scaffold(
        appBar: new AppBar(
          title: new Text("跑马灯"),
        ),
        body:new Container(
          color: Colors.blueGrey,
          height: 30,
          child: new MarqueeWidget(
            text: "ListView即滚动列表控件,能将子控件组成可滚动的列表。当你需要排列的子控件超出容器大小",
            textStyle: new TextStyle(fontSize: 16.0),
            scrollAxis: Axis.horizontal,
          ),
        )
    );
  }
}
17
likes
40
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A Marquee widght with ListView,Can scroll vertically or horizontally

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

flutter

More

Packages that depend on marquee_flutter