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(),
      },
    );
  }
}
7
likes
0
pub points
51%
popularity

Publisher

verified publishersongfei.org

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