Last updated:
0 purchases
pennable text
Features #
This package used for editable textfield and you can also use for flexable textfiled width.
Getting started #
Usage #
Import:
import 'package:pennable_text/pennable_text.dart';
copied to clipboard
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),
),
),
),
);
}
}
copied to clipboard
Additional information #
This package used for editable textfield and you can also use for flexable textfiled width.
Author Youtube channel #
My Youtube Channel
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.