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

Publisher

unverified uploader

Provides widget to help child expand to fill space or scroll

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on expandify