expandify 1.0.2 copy "expandify: ^1.0.2" to clipboard
expandify: ^1.0.2 copied to clipboard

Provides widget to help child expand to fill space or scroll

example/lib/main.dart

import 'package:expandify/expandify.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(
    WidgetsApp(
      pageRouteBuilder: <T>(settings, builder) => MaterialPageRoute<T>(builder: builder),
      home: Scaffold(
        body: Expandify(
          direction: Axis.horizontal,
          child: Row(
            mainAxisAlignment: MainAxisAlignment.spaceBetween,
            children: [
              Container(color: Colors.blue, width: 100, height: 100),
              Container(color: Colors.red, width: 100, height: 100),
            ],
          ),
        ),
      ),
      color: Colors.white,
    ),
  );
}
4
likes
150
points
40
downloads

Publisher

unverified uploader

Weekly Downloads

Provides widget to help child expand to fill space or scroll

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on expandify