custom_keyboard_action 0.0.4 copy "custom_keyboard_action: ^0.0.4" to clipboard
custom_keyboard_action: ^0.0.4 copied to clipboard

custom keyboard action

example/lib/main.dart

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

void main() {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void initState() {
    super.initState();
  }

  final key = GlobalKey();

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: ScaffoldKeyboard(
        resizeToAvoidBottomInset: true,
        appBar: AppBar(
          title: const Text('Plugin example app'),
        ),
        padding: 80,
        body: const SingleChildScrollView(
          child: Column(
            mainAxisSize: MainAxisSize.min,
            children: [
              // const Stack(
              //   children: [
              //     TextField(
              //       keyboardType: TextInputType.number,
              //     ),
              //     Positioned.fill(
              //       child: TextFormFieldActions(),
              //     ),
              //   ],
              // ),
              SizedBox(height: 500),
              TextField(
                scrollPadding: EdgeInsets.all(100),
              ),
              // TextFormFieldCustomKeyboard(
              //   key: key,
              //   controller: TextEditingController(),
              // ),
            ],
          ),
        ),
      ),
    );
  }
}
0
likes
140
points
32
downloads

Publisher

unverified uploader

Weekly Downloads

custom keyboard action

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on custom_keyboard_action

Packages that implement custom_keyboard_action