flexible 0.1.3 flexible: ^0.1.3 copied to clipboard
Flutter UI scalable layout scheme. Visual designers usually output only one screen design draft when we develop mobile app, we want to be able to adapt perfectly to different resolution devices. Scale [...]
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(),
},
);
}
}