Developer Challenge

circular_textfield


A circular textfield widget for your apps. This widget makes our TextField come as circular by default. We can also add the icon we want with the icon parameter.

screenshot

Usage


First, add the circular_textfield package to your pubspec dependencies.

To import CircularTextField:

import 'package:circular_textfield/circular_textfield.dart';

To use CircularTextField:

return Scaffold(
      body: Center(
        child: CircularTextField(
          icon: Icons.access_time,
          width: 250,
          hasIcon: true,
        ),
      ),
    );

Libraries

circular_textfield