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

outdated

Horizontal indicator that let you scroll horizontally and add anything.

horizontal_indicator #

This package provides you horizontal date indicator.

Implementation:

Add horizontal_indicator: <version> to your pubspect.yaml file. Then use DateIndicator() as a child of your any widget. That's it.

TODO: - Support anyother format like date. - Add Only date indicator option and page option.

Note that this package uses intl: ^0.16.0 for supporting formated date.

Example: #

import 'package:flutter/material.dart';

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

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter SO answers sample snippet',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: DateIndicatorPage(),
    );
  }
}

class DateIndicatorPage extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: Column(
          children: <Widget>[
            DateIndicator(),
            Expanded(
              child: Container(),
            ),
          ],
        ),
      ),
    );
  }
}

Screenshots:

Complete Page Flutter Date Indicator

In a widget Flutter Date Indicator

Getting Started #

This project is a starting point for a Dart package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

3
likes
0
pub points
0%
popularity

Publisher

unverified uploader

Horizontal indicator that let you scroll horizontally and add anything.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, intl

More

Packages that depend on horizontal_indicator