mu_radio_group 0.0.3 copy "mu_radio_group: ^0.0.3" to clipboard
mu_radio_group: ^0.0.3 copied to clipboard

A simple Flutter package!

Usage #


import 'package:flutter/material.dart';
import 'package:google_fonts/google_fonts.dart';

class TestScreen extends StatelessWidget {
  const TestScreen({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          MURadioGroup(
            hintext: "Gender",
            elements: const ["Man", "Woman"],
            onChanged: (index) {},
            hintextStyle: GoogleFonts.urbanist(
              color: const Color(0xFF9E9E9E),
              fontSize: 14,
              fontWeight: FontWeight.w500,
            ),
            onTapColor: const Color(0xFFF27A1A),
            onNonTapColor: const Color(0xFFD1D1D1),
            radiusSize: 24,
          ),
        ],
      ),
    );
  }
}


copied to clipboard
3
likes
120
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

2024.07.09 - 2025.01.21

A simple Flutter package!

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, google_fonts

More

Packages that depend on mu_radio_group