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

To be able to display an horizontal Planning.

Composant horizontal-planning (Flutter) #

Composant permettant un affichage d'un planning horizontal, scrollable et adaptable à toutes les tailles.

Planning Horizontal

Exemple d'utilisation #

import 'package:flutter/material.dart';
import 'package:scrollmulti/scroll-page.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
        visualDensity: VisualDensity.adaptivePlatformDensity,
      ),
      home: SafeArea(
        top: true,
        child: Scaffold(
          appBar: AppBar(
            title: Text("HorizontalPlanning Sample"),
          ),
          body: HorizontalPlanning(
            title: "Semaine du 27/04 au 03/05",
            startHour: 8,
            employees: [
              "Vianney",
              "Stéphane",
            ],
            nbHours: 24,
            weekDays: ["Lun.", "Mar.", "Mer.", "Jeu.", "Ven.", "Sam.", "Dim."],
          ),
        ),
      ),
    );
  }
}

TODO List #

  • Manage display with hour steps (ex. 2h 4h 5h 6h),
  • Be able to customize hours labels
  • Events management
  • Be able to customize colors, styles and so on...
0
likes
30
pub points
0%
popularity

Publisher

unverified uploader

To be able to display an horizontal Planning.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on horizontalplanning