adaptive_layout_manager 1.0.0 adaptive_layout_manager: ^1.0.0 copied to clipboard
A Flutter package for adaptive layouts, font scaling, and responsive widgets across platforms.
import 'package:adaptive_layout_manager/src/adaptive_layout.dart';
import 'package:adaptive_layout_manager/src/adaptive_text.dart';
import 'package:flutter/material.dart';
void main() => runApp(const MyApp());
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Adaptive Layout Manager',
home: Scaffold(
appBar: AppBar(title: const Text('Adaptive Layout Example')),
body: const AdaptiveLayout(
smallScreen: Center(child: AdaptiveText('Small Screen')),
mediumScreen: Center(child: AdaptiveText('Medium Screen')),
largeScreen: Center(child: AdaptiveText('Large Screen')),
),
),
);
}
}