flexi 0.1.4 copy "flexi: ^0.1.4" to clipboard
flexi: ^0.1.4 copied to clipboard

outdated

Beside Material and Bootstrap breakpoint systems, Flexi allows to create your own layout easily.

example/example.md

dependencies:
  flexi: <latest-version>
copied to clipboard
import 'package:flexi/flexi.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const App());
}

class App extends StatelessWidget {
  const App({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      title: 'Flexi Example - Material Layout',
      home: Scaffold(body: HomePage()),
    );
  }
}

class HomePage extends StatelessWidget {
  const HomePage({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Center(child: Text(context.flexi.breakpoint.id.toString()));
  }
}
copied to clipboard
4
likes
0
points
44
downloads

Publisher

verified publisherzenonine.com

Weekly Downloads

2024.08.31 - 2025.03.15

Beside Material and Bootstrap breakpoint systems, Flexi allows to create your own layout easily.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, flutter, meta

More

Packages that depend on flexi