copy_with_material 1.0.0 copy "copy_with_material: ^1.0.0" to clipboard
copy_with_material: ^1.0.0 copied to clipboard

Copy with method extensions for material classes

Adds copyWith method extensions for material widgets. This project is a work in progress.

Example #

import 'package:copy_with_material/copy_with_material.dart';

void main() {
  AppBar appBar = AppBar(
    title: Text("Title"),
    actions: [IconButton(icon: Icon(Icons.search), onPressed: () {})],
  );

  AppBar newAppBar = appBar.copyWith(
    title: Text("New Title"),
  );
}
1
likes
130
points
20
downloads

Publisher

verified publisherarcane.art

Weekly Downloads

Copy with method extensions for material classes

Repository (GitHub)

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on copy_with_material