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.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:horizontalplanning/horizontalplanning.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."],
          ),
        ),
      ),
    );
  }
}
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