free_check_box 1.0.1 copy "free_check_box: ^1.0.1" to clipboard
free_check_box: ^1.0.1 copied to clipboard

A dark package that helps you build ring layouts, supported both iOS and Android.

example/lib/main.dart

import 'package:example/item.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        resizeToAvoidBottomInset: false,
        body: SafeArea(
          maintainBottomViewPadding: true,
          child: SizedBox(
            width: double.infinity,
            height: double.infinity,
            child: SingleChildScrollView(
              child: Padding(
                padding: const EdgeInsets.only(
                    left: 30, top: 20, right: 30, bottom: 20),
                child: Column(
                  crossAxisAlignment: CrossAxisAlignment.start,
                  children: [
                    const Text(
                      'CustomCheckBox',
                      style: TextStyle(
                        fontSize: 32,
                        fontWeight: FontWeight.w700,
                      ),
                    ),
                    ListView(
                      shrinkWrap: true,
                      physics: const NeverScrollableScrollPhysics(),
                      children: _getChildren(),
                    ),
                  ],
                ),
              ),
            ),
          ),
        ),
      ),
    );
  }

  _getChildren() {
    List<Widget> children = [];
    for (int i = 0; i < 10; i++) {
      children.add(
        Item(
          name: 'Yin',
          address: 'BeiJing',
        ),
      );
    }
    return children;
  }
}
0
likes
150
pub points
48%
popularity

Publisher

unverified uploader

A dark package that helps you build ring layouts, supported both iOS and Android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on free_check_box