landscape_tab_view 0.0.3 copy "landscape_tab_view: ^0.0.3" to clipboard
landscape_tab_view: ^0.0.3 copied to clipboard

A Flutter package to easily manage landscape views on tablets — ideal for building responsive, split-view UIs like Flipkart, Zomato, and other large-scale apps.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:landscape_tab_view/landscape_tab_view.dart';

void main() {
  runApp(LandscapeTabView(width: 700, child: const MyApp()));
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Landscape Tabview Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
      ),
      home: const HomePage(),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          Expanded(child: Container(color: Colors.orange)),
          Expanded(child: Container()),
          Expanded(child: Container(color: Colors.green)),
        ],
      ),
    );
  }
}
2
likes
150
points
14
downloads

Publisher

verified publisherdharmikjoshi.in

Weekly Downloads

A Flutter package to easily manage landscape views on tablets — ideal for building responsive, split-view UIs like Flipkart, Zomato, and other large-scale apps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on landscape_tab_view