mirror of
				https://gitlab.com/comunic/comunicmobile
				synced 2025-11-03 19:54:12 +00:00 
			
		
		
		
	Start to display widgets
This commit is contained in:
		@@ -14,6 +14,8 @@ import 'package:flutter/material.dart';
 | 
			
		||||
///
 | 
			
		||||
/// @author Pierre Hubert
 | 
			
		||||
 | 
			
		||||
const _SideBarSize = 300.0;
 | 
			
		||||
 | 
			
		||||
class TabletRoute extends StatefulWidget implements MainRoute {
 | 
			
		||||
  const TabletRoute({Key key}) : super(key: key);
 | 
			
		||||
 | 
			
		||||
@@ -56,7 +58,7 @@ class _TabletRouteState extends MainController {
 | 
			
		||||
          iconTheme: IconThemeData(color: Colors.white),
 | 
			
		||||
        ),
 | 
			
		||||
        child: Container(
 | 
			
		||||
          width: 300,
 | 
			
		||||
          width: _SideBarSize,
 | 
			
		||||
          color: Color(0xFF222D32),
 | 
			
		||||
          child: Column(
 | 
			
		||||
            children: <Widget>[
 | 
			
		||||
@@ -70,7 +72,10 @@ class _TabletRouteState extends MainController {
 | 
			
		||||
        ),
 | 
			
		||||
      );
 | 
			
		||||
 | 
			
		||||
  Widget _buildRightPane() => Container();
 | 
			
		||||
  Widget _buildRightPane() => Container(
 | 
			
		||||
        width: MediaQuery.of(context).size.width - _SideBarSize,
 | 
			
		||||
        child: currentPage.child,
 | 
			
		||||
      );
 | 
			
		||||
 | 
			
		||||
  @override
 | 
			
		||||
  void pushPage(PageInfo page) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user