b_scheduler 0.0.3
b_scheduler: ^0.0.3 copied to clipboard
A customizable Flutter scheduler widget with pinch-to-zoom, infinite scrolling, Google Calendar integration, and multiple view modes.
import 'package:flutter/material.dart';
import 'package:example/screens/login_screen.dart';
void main() {
runApp(const MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
const debugView = bool.fromEnvironment('DEBUG_VIEW', defaultValue: false);
final theme = ThemeData.light().copyWith(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.pink).copyWith(
tertiary: Colors.purple,
tertiaryContainer: Colors.purple.shade100,
tertiaryFixed: Colors.purple,
tertiaryFixedDim: Colors.purple.shade700,
),
scaffoldBackgroundColor: Colors.white,
);
return MaterialApp(
title: 'B Scheduler',
debugShowCheckedModeBanner: false,
theme: theme,
home: LoginScreen(debugView: debugView),
);
}
}