flexible 0.1.1 copy "flexible: ^0.1.1" to clipboard
flexible: ^0.1.1 copied to clipboard

outdated

Flutter UI scalable layout scheme. Scales to the width of the screen. The most suitable UI can scroll up and down.

example/lib/main.dart

import 'package:flexible/flexible.dart';
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) {
    ScreenFlexible.designScreenWidth = 750.0;
    return MaterialApp(
      title: _title,
      initialRoute: '/',
      routes: {
        '/': (context) => MenuListPage(),
        '/basic': (context) => BasicLayoutPage(),
      },
    );
  }
}
8
likes
0
points
15
downloads

Publisher

verified publishersongfei.org

Weekly Downloads

Flutter UI scalable layout scheme. Scales to the width of the screen. The most suitable UI can scroll up and down.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on flexible