Skip to content

Instantly share code, notes, and snippets.

@86chenjie
86chenjie / main.dart
Created June 13, 2023 12:59 — forked from zzpmaster/main.dart
flutter ModalBottomSheet update state
showModalBottomSheet(
context: context,
builder: (context) {
return ModalBottomSheet(this.selected, this.data, (selected, data) {
this.selected = selected;
this.data = data;
});
});
@86chenjie
86chenjie / main.dart
Created June 13, 2023 12:59 — forked from zzpmaster/main.dart
flutter ModalBottomSheet update state
showModalBottomSheet(
context: context,
builder: (context) {
return ModalBottomSheet(this.selected, this.data, (selected, data) {
this.selected = selected;
this.data = data;
});
});
@86chenjie
86chenjie / main.dart
Created June 13, 2023 12:59 — forked from zzpmaster/main.dart
flutter ModalBottomSheet update state
showModalBottomSheet(
context: context,
builder: (context) {
return ModalBottomSheet(this.selected, this.data, (selected, data) {
this.selected = selected;
this.data = data;
});
});
@86chenjie
86chenjie / main.dart
Created June 13, 2023 12:59 — forked from zzpmaster/main.dart
flutter ModalBottomSheet update state
showModalBottomSheet(
context: context,
builder: (context) {
return ModalBottomSheet(this.selected, this.data, (selected, data) {
this.selected = selected;
this.data = data;
});
});
@86chenjie
86chenjie / main.dart
Created June 13, 2023 12:59 — forked from zzpmaster/main.dart
flutter ModalBottomSheet update state
showModalBottomSheet(
context: context,
builder: (context) {
return ModalBottomSheet(this.selected, this.data, (selected, data) {
this.selected = selected;
this.data = data;
});
});