EasyDashboard constructor
const
EasyDashboard({
- Key? key,
- required EasyAppController controller,
- EasyBody? body,
- Duration duration = const Duration(milliseconds: 300),
- double mobileBreakpoint = 600,
- double tabletBreakpoint = 900,
- MobileView mobileView = const MobileView(),
- TabletView tabletView = const TabletView(),
- DesktopView desktopView = const DesktopView(),
- EasyDeviceMode tabletMode = EasyDeviceMode.tablet,
- EasyDeviceMode mobileMode = EasyDeviceMode.mobile,
- EasyDeviceMode desktopMode = EasyDeviceMode.desktop,
- FloatingActionButtonLocation? floatingActionButtonLocation,
- FloatingActionButton? floatingActionButton,
- SystemUiOverlayStyle? systemOverlayStyle,
- FloatingActionButtonAnimator? floatingActionButtonAnimator,
- double appBarHeight = kToolbarHeight,
- bool centerTitle = true,
- Color backgroundColor = Colors.white,
- Color appBarColor = Colors.blue,
- Color sideBarColor = Colors.white,
- List<
Widget> ? appBarActions, - required DrawerBuilder drawer,
Easy Dashboard
A simple yet powerful widget for creating fast Dashboards.
Implementation
const EasyDashboard({
Key? key,
required this.controller,
this.body,
this.duration = const Duration(milliseconds: 300),
this.mobileBreakpoint = 600,
this.tabletBreakpoint = 900,
this.mobileView = const MobileView(),
this.tabletView = const TabletView(),
this.desktopView = const DesktopView(),
this.tabletMode = EasyDeviceMode.tablet,
this.mobileMode = EasyDeviceMode.mobile,
this.desktopMode = EasyDeviceMode.desktop,
this.floatingActionButtonLocation,
this.floatingActionButton,
this.systemOverlayStyle,
this.floatingActionButtonAnimator,
this.appBarHeight = kToolbarHeight,
this.centerTitle = true,
this.backgroundColor = Colors.white,
this.navigationIcon = const Icon(Icons.menu),
this.navigationIconSplashRadius = 20,
this.appBarColor = Colors.blue,
this.sideBarColor = Colors.white,
this.appBarActions,
required this.drawer,
}) : assert(backgroundColor != Colors.transparent),
super(key: key);