flexible 1.0.0 flexible: ^1.0.0 copied to clipboard
Flutter UI scalable layout scheme. We want to be able to adapt perfectly to different resolution devices. Scales to the width of the screen.
import 'package:flutter/material.dart';
import 'basic.dart';
import 'menu.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
static const String _title = 'Screen Flexible Demo';
@override
Widget build(BuildContext context) {
return MaterialApp(
title: _title,
initialRoute: '/',
routes: {
'/': (context) => MenuListPage(),
'/basic': (context) => BasicLayoutPage(),
},
);
}
}