Features
This package used for editable textfield and you can also use for flexable textfiled width.
Getting started
![](https://cdn.discordapp.com/attachments/995917530096996372/1130841541959749682/rasm.png)
Usage
Import:
import 'package:pennable_text/pennable_text.dart';
to /example
folder.
import 'package:flutter/material.dart';
import 'package:pennable_text/pennable_text.dart';
void main() {
runApp(const MaterialApp(
home: PennableTextExample(),
));
}
class PennableTextExample extends StatelessWidget {
const PennableTextExample({super.key});
@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(
title: const Text("PennableTextExample"),
),
body: Center(
child: SizedBox(
width: double.infinity,
height: 60,
child: PennableText(
textEditingController: TextEditingController(text: "PennableText"),
suffix: const Padding(
padding: EdgeInsets.only(bottom: 5),
child: Icon(
Icons.edit,
),
),
textColor: Colors.black,
fillColor: Colors.blue,
textStyle: const TextStyle(fontSize: 20),
),
),
),
);
}
}
Additional information
This package used for editable textfield and you can also use for flexable textfiled width.