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,
),
],
),
);
}
}