Answers for "category List flutter"

0

category List flutter

@override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: CategoryPicker(
          items: [
            CategoryPickerItem(
              value: "Test",
            ),
            CategoryPickerItem(
              value: "Test2",
            ),
            CategoryPickerItem(
              value: "Test3",
            ),
          ],
          onValueChanged: (value) {
            print(value.label);
          },
        ),
      ),
    );
  }
Posted by: Guest on August-24-2021
0

category List flutter

import 'package:category_picker/category_picker.dart';
import 'package:category_picker/category_picker_item.dart';
Posted by: Guest on August-24-2021

Code answers related to "category List flutter"

Browse Popular Code Answers by Language